Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Top level

by tune (Curate)
on May 23, 2001 at 22:09 UTC ( [id://82653]=note: print w/replies, xml ) Need Help??


in reply to Top level my vars and their global use in a file

I used to leave only counters, and constants in global variables, or in any other special case. Otherwise I pass variables to subroutines, and I just create variables in the scope it is used. So there are no variable name confusions, etc. Of course these methods are used with strict, so it notifies me if am wrong.

--
tune

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-26 05:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found