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

Re: Style or Clarity?

by FoxtrotUniform (Prior)
on Jun 09, 2004 at 01:54 UTC ( #362603=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if($tmp eq 'F'){
            ;    # do nothing, spot held for clarity
    ...
            ...  # do something 
        }
    }
    
  2. or download this
    $tmp = $some_result;
    my $handler = $handlers{$tmp};
    &$handler(...) if $handler; # might be undef, as in 'F' case
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2020-11-29 22:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?