in reply to Perl Script to Run other Scripts with proper pauses?
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");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |