shilpam has asked for the wisdom of the Perl Monks concerning the following question:
#!/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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: calling perl script from shell script
by pelagic (Priest) on Mar 26, 2004 at 13:05 UTC | |
by shilpam (Sexton) on Mar 26, 2004 at 13:30 UTC | |
by Fletch (Bishop) on Mar 26, 2004 at 13:47 UTC | |
by pelagic (Priest) on Mar 26, 2004 at 14:05 UTC | |
by shilpam (Sexton) on Mar 29, 2004 at 07:07 UTC | |
by pelagic (Priest) on Mar 29, 2004 at 07:20 UTC | |
| |
|
Re: calling perl script from shell script
by redlemon (Hermit) on Mar 26, 2004 at 14:31 UTC | |
|
Re: calling perl script from shell script
by Plankton (Vicar) on Mar 26, 2004 at 16:32 UTC |