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...
In reply to Re: How to run bash file from perl
by raybies
in thread How to run bash file from perl
by bndgyawali
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |