Have you looked at system? How did it fail to work for you?
I suggest doing something like
my $command= "/usr/bin/bash -c 'do $some_file'"; system( $command ) == 0 or die "Couldn't launch '$command': $! / $?";
In reply to Re: Running a command from a text file
by Corion
in thread Running a command from a text file
by Zoarob
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |