BTW perl 5.10 (to be released before christmas) comes with built in switch statement of the form
given ($time) { when ("30days"){ ... } ... default { # do something else } }
In reply to Re: Switch - "case" may clash with future reserved word
by moritz
in thread Switch - "case" may clash with future reserved word
by ahoffmann
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |