That sort of logical structure can be recast as a case switch, ala perlsyn,
At the expense of comprehensibility, you can omit the last clause from a statement to have processing continue.SWITCH: { $tmp eq 'F' and last SWITCH; $tmp =~ /[MICL]/ and do { # Some things... } , last SWITCH; # do default else thing }
After Compline,
Zaxo
In reply to Re: Style or Clarity?
by Zaxo
in thread Style or Clarity?
by periapt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |