in reply to How to run bash file from perl
Just to add another couple of options to anonymized user 468275's post.
You can do this, if you don't care about the output from learn.sh:
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/
In Section
Seekers of Perl Wisdom