Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Can't find function in @INC

by tobyink (Canon)
on May 04, 2014 at 20:27 UTC ( #1084971=note: print w/replies, xml ) Need Help??


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).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1084971]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2019-11-15 20:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (84 votes). Check out past polls.

    Notices?