in reply to Best way to execute a set of commands in perl
oruse IPC::System::Simple qw( system ); system($_) for 'batch -b -submit abcd.txt', 'perlscript features.txt', 'perldata data.txt';
use IPC::System::Simple qw( system ); system($_) for split /\n/ <<'__EOI__'; batch -b -submit abcd.txt perlscript features.txt perldata data.txt __EOI__
Update: Fixed name of module.
|
|---|