Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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
Domain Nodelet?
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: (None)
    As of 2021-10-17 22:52 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      My first memorable Perl project was:







      Results (72 votes). Check out past polls.

      Notices?