Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Two simple code style advice questions

by BrowserUk (Pope)
on Jan 16, 2013 at 14:43 UTC ( #1013585=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use constant NOERROR => 0;
    
    my $errstr = ( $case != NOERROR ? $msg[$case] : "" );
    
  2. or download this
    $msg[ 0 ] = ''; 
    
    ...
    
    my $errstr = $msg[ $case ];
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2014-12-25 00:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (159 votes), past polls