Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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.

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 studying the Monastery: (6)
As of 2024-03-28 09:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found