in reply to How to run bash file from perl
Whereas this does much the same as using backticks (``)@args = ("learn.sh", "arg1", "arg2"); system(@args) == 0 or die "system @args failed: $?"
my $output = qx/learn.sh arg1 arg2/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to run bash file from perl
by bndgyawali (Initiate) on May 17, 2011 at 19:08 UTC |