Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Undefined subroutine - newbie problem

by DrHyde (Prior)
on Aug 14, 2012 at 10:44 UTC ( #987314=note: print w/ replies, xml ) Need Help??


in reply to Undefined subroutine - newbie problem

'Exporter' works by creating an import method in your module. That method is called when you use your module, but not when you merely require it.

Compare require and use.


Comment on Re: Undefined subroutine - newbie problem
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (15)
As of 2014-07-31 18:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (250 votes), past polls