Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Style or Clarity?

by Zaxo (Archbishop)
on Jun 08, 2004 at 21:52 UTC ( #362571=note: print w/replies, xml ) Need Help??


in reply to Style or Clarity?

That sort of logical structure can be recast as a case switch, ala perlsyn,

SWITCH: { $tmp eq 'F' and last SWITCH; $tmp =~ /[MICL]/ and do { # Some things... } , last SWITCH; # do default else thing }
At the expense of comprehensibility, you can omit the last clause from a statement to have processing continue.

After Compline,
Zaxo

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2020-11-30 07:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?