Alternative without statement modifier and with a default ($os always defined):
Update: Default could be $^O instead of 'n/a', though.($os) = ($description =~ /(windows|linux|solaris)/i , 'n/a');
In reply to Re: is this horrible?
by Perlbotics
in thread is this horrible?
by fionbarr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |