Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Two simple code style advice questions

by blue_cowdawg (Monsignor)
on Jan 16, 2013 at 14:33 UTC ( #1013581=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %tests = map { $_ => 0 ) qw/ tfred tjock tfortytwo / ;
    
  2. or download this
    my $tests ={};
    map { $tests -> { $_ } = 0 } qw/ tfred tjock tfortytwo /;
    
  3. or download this
    callToSub(\%tests);
    
  4. or download this
    my $errstr = ( $case != OK ? $msg[$case] : "" );
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2014-12-21 06:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (104 votes), past polls