Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Help needed understanding global variables in Perl

by Sinister (Friar)
on Mar 05, 2002 at 09:12 UTC ( #149306=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/perl -wT
    use strict;
    ...
    bar();
    
    print "$foo $bar\n";
    
  2. or download this
    #!/perl -wT
    
    ...
    bar();
    
    print "$foo $bar\n";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2020-10-31 22:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (291 votes). Check out past polls.

    Notices?