Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

When is $_ local and when is it not?

by iakobski (Pilgrim)
on Jul 13, 2001 at 16:52 UTC ( #96369=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    ...
    a
    b
    c
    
  2. or download this
    BEFORE: 1 AFTER: 1
    BEFORE: 2 AFTER: 2
    BEFORE: 3 AFTER: 3
    
    ========== [C:\users\jake\code\komodo\test2.pl] run finished. ========
    +==
    
  3. or download this
    sub foo{
     while(<DATA>){
       last;
     }
    }
    
  4. or download this
    BEFORE: 1 AFTER: a
    
    ...
    
    
    ========== [C:\users\jake\code\komodo\test2.pl] run finished. ========
    +==
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2014-12-28 19:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (182 votes), past polls