The problem with the first approach is that perls older than 5.006002 don't have the if module in core. This doesn't affect the second one of course.
In reply to Re: Backward compatible lexical warnings
by ambrus
in thread Backward compatible lexical warnings
by xdg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |