Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: Issue with Exporter

by ferreira (Chaplain)
on Jan 12, 2007 at 11:49 UTC ( [id://594357]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Issue with Exporter
in thread Issue with Exporter

@EXPORT hold the symbols that are exported by default when you don't mention explicitly any symbols.

use one; # will import the symbols in @EXPORT

while @EXPORT_OK hold the symbols that can be exported on demand.

use one qw(m1 m2); # m1 and m2 should be in @EXPORT or @EXPORT_OK

Read more about it in the Exporter documentation.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-26 02:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found