in reply to Recursively run another script
use strict; use File::Find; my $action = shift; find(sub { return unless -f; system($ARGV[0], $_) == 0 or warn "Non-zero exit code for $_"; }, @ARGV);
Makeshifts last the longest.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Recursively run another script
by bean (Monk) on Aug 08, 2003 at 06:14 UTC | |
by Aristotle (Chancellor) on Aug 08, 2003 at 12:04 UTC | |
by sweetblood (Prior) on Aug 08, 2003 at 15:05 UTC |