#!/usr/bin/sh cd go_to_dir_where_perl_program_exists /usr/bin/perl perlscript.pl echo "Status String is $?" if( $? -eq 0) then echo "success" # do some more stuff else echo "failure" # do some more stuff
In reply to calling perl script from shell script by shilpam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |