Thanks. Yeah, that is the way to remove the warning.
The parameter is documented as optional, so I thought the code looked most obvious like that. I'll update my Best Practices.
In reply to Re^2: Closure warning with Perl 5.14?
by BerntB
in thread Closure warning with Perl 5.14?
by BerntB
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |