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

Re^2: Variable assignment error checking

by NetWallah (Canon)
on Dec 15, 2013 at 01:51 UTC ( [id://1067199]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $oldval;
    
    $val = func( $oldval=$val) || $oldval;
    
  2. or download this
      $val = func( $_=$val) || $_;
    
  3. or download this
        $val = do{ func( local $_=$val) || $_ };
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-26 00:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found