Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

(ar0n) Re: My first perl module

by ar0n (Priest)
on Dec 03, 2001 at 08:20 UTC ( [id://129033]=note: print w/replies, xml ) Need Help??


in reply to My first perl module

The subroutines in @EXPORT_OK are subroutines that are allowed to be exported. To export them you need to explicitly request them:

use My::Module qw/genHeader/;

Either that, or you could add it to the @EXPORT array, in which case it'll get exported automatically.

Note though that this is generally considered rude.

[ ar0n -- want job (boston) ]

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-04-25 15:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found