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

Re: Who's who in interpackage global vars

by gaspodethewonderdog (Monk)
on Feb 20, 2001 at 20:05 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-04-23 08:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found