Some people claim that the warning helps them catch mistakes... with my coding style it tends to be a false warning. YMMV.no warnings 'uninitialized';
Since it is lexically scoped, you can turn that warning off for a particular section of code like this:
$word = $required_prefix . $word; { no warnings 'uninitialized'; $word .= $optional_suffix; }
-Blake
In reply to Re: Coding Errror
by blakem
in thread Coding Errror
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |