Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^4: Simple Module Tutorial

by toolic (Chancellor)
on Mar 07, 2011 at 16:34 UTC ( #891848=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Simple Module Tutorial
in thread Simple Module Tutorial

You didn't copy the example exactly!

You copied case 1. Your code does not export any functions, just as the Tutorial says it won't. You need to export the functions before you try to use them that way:

use MyModule qw(&func1);


Comment on Re^4: Simple Module Tutorial
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2014-07-29 05:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls