Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 examining the Monastery: (10)
As of 2020-10-30 14:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (279 votes). Check out past polls.

    Notices?