Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Global variable vs passing variable from sub to sub

by Wassercrats
on Sep 14, 2004 at 07:39 UTC ( #390767=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{$account} && $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://390767]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2015-07-29 00:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls