in reply to How to run bash file from perl
This solution might not be fancy enough... but...
if it must be bash, then just as you start a perl script with the #!, you start your bash shell script with its own...
#!/bin/bash
(assuming that bash is in the /bin dir).
Then just do a system() call to your learn.sh script from within Perl with the commandline args...
|
|---|