in reply to Calling a script from a script with GetOpt::Long arguments
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»
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Calling a script from a script with GetOpt::Long arguments
by jjap (Monk) on Mar 03, 2015 at 14:31 UTC | |
by karlgoethebier (Abbot) on Mar 03, 2015 at 17:50 UTC |