Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Global variable vs passing variable from sub to sub

by BUU (Prior)
on Sep 14, 2004 at 10:10 UTC ( #390780=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub account_over_limit {
        my ($account, $balance) = @_;
        return exists $LIMITED_ACCOUNTS{$a­ccount} && $balance > $LIMIT;
    }
    
  2. or download this
    BEGIN {
       my $var;
    ...
         $var;
       }
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2014-12-19 07:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (74 votes), past polls