But why don't you make it like this:
for my $file (@files) { heavy_lifter($file); } sub heavy_lifter { my $file = shift; # heavy stuff }
Just two more ˘...
Best regards, Karl
«The Crux of the Biscuit is the Apostrophe»
In reply to Re: Calling a script from a script with GetOpt::Long arguments
by karlgoethebier
in thread Calling a script from a script with GetOpt::Long arguments
by jjap
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |