and output is#!/usr/bin/perl system('./hello.sh FileOpen.pl') == 0 or die "Couldn't launch './hell +o.sh': $! / $?";
The script isperl Sample.pl Hello Madam It is Working ./hello.sh: line 3: #!/usr/bin/perl: No such file or directory Couldn't launch './hello.sh': / 32512 at Sample.pl line 2.
I am new to perl with shell thats why i added in this portion#!/bin/bash echo 'Hello Madam It is Working'; `cat $1`;
In reply to Re^2: perl and shell
by editi
in thread perl and shell
by editi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |