Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Who's who in interpackage global vars

by gaspodethewonderdog (Monk)
on Feb 20, 2001 at 20:05 UTC ( #59680=note: print w/replies, xml ) Need Help??


in reply to Who's who in interpackage global vars

you'd use $main::string or &main::function ... you get the idea...

You could always make the main into a package. Nothing keeps you from doing that either. In fact if you plan on reusing any of the code anyways you might just want to do that for sanity sake.

  • Comment on Re: Who's who in interpackage global vars

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2023-02-04 02:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (30 votes). Check out past polls.

    Notices?