Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Detecting global $_ usage

by bikeNomad (Priest)
on Jul 13, 2001 at 19:00 UTC ( #96425=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # croak on global underscore usage:
    #    no Underscore;
    ...
    sub import { untie $_ }
    tie($_, __PACKAGE__) unless tied $_;
    1;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2014-09-22 18:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (198 votes), past polls