Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by BUU (Prior)
on Sep 14, 2004 at 10:10 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://390780]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-03-29 06:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found