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.
In reply to Re: Recursively run another script
by Aristotle
in thread Recursively run another script
by bean
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |