Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: 'my' with 'if 0' retains old value

by bart (Canon)
on Apr 21, 2006 at 15:23 UTC ( [id://544928]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $v2;
    $v2 = -2 if 0;
    
  2. or download this
    my $v2;
    
  3. or download this
    my $v2 if 0;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-04-24 17:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found