Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^4: Simple Module Tutorial

by toolic (Bishop)
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?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2015-11-30 03:49 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (757 votes), past polls