The script that will run the others is in the same directory as them
As I mentioned in my post here, it would be best if you use absolute pathnames. If you don't want to work with hard coded paths in your scripts, here's one thing you can do instead to still get absolute paths (note File::Spec and FindBin are core modules):
use File::Spec::Functions qw/catfile/; use FindBin; my $scriptname = catfile($FindBin::Bin, "foo.pl");
In reply to Re: Perl Script to Run other Scripts with proper pauses?
by haukex
in thread Perl Script to Run other Scripts with proper pauses?
by adamZ88
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |