Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Exporting functions into main namespace for the benefit of other use'd modules

by SmokeyB (Scribe)
on Jul 11, 2003 at 18:39 UTC ( [id://273521]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    package YourModule;
    ...
    @EXPORT    = qw(get_id AnotherSub);
    @EXPORT_OK = qw(evenMoreSubs justOneMore);
    
  2. or download this
    use YourModule qw (:DEFAULT);
    use strict;
    
    my $id = get_id();
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-19 22:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found