in reply to Can't find function in @INC

This is pretty close...

$ perl -e'require q/function/' Can't locate function in @INC (@INC contains: ...) at -e line 1.
use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name

Replies are listed 'Best First'.
Re^2: Can't find function in @INC
by bangor (Monk) on May 05, 2014 at 16:34 UTC
    Ah, so the answer should be "the script tried to require a module called 'function' ...". It is a deliberately confusing question, though I suppose it does sort the wheat (you tobyink) from the chaff (me bangor).