#!/usr/bin/perl
system('./hello.sh FileOpen.pl') == 0 or die "Couldn't launch './hello.sh': $! / $?";
####
perl 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.
####
#!/bin/bash
echo 'Hello Madam It is Working';
`cat $1`;