I just don't like using last.
As well you shouldn't, at least in this case. 'last' is not a correct way of exiting a subroutine, and Perl should actually throw a warning if you run your code. The correct way of coming back from a sub is 'return', not 'last'.
-- I hate storms, but calms undermine my spirits. -- Bernard Moitessier, "The Long Way"
In reply to Re^3: File::find hack
by oko1
in thread File::find hack
by nemesdani
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |