Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am calling a perl .pl file from a batch file. I want the perl file to return different status values when it is run to the batch file....how can I do that?
I put a 'return $status' at the end of the perl file, but it complains it is not a subroutine. Please suggest.
Thank you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl file returning values
by socketdave (Curate) on Jul 22, 2005 at 17:03 UTC | |
|
Re: perl file returning values
by holli (Abbot) on Jul 22, 2005 at 17:56 UTC | |
by Anonymous Monk on Jul 22, 2005 at 22:14 UTC | |
|
Re: perl file returning values
by ww (Archbishop) on Jul 22, 2005 at 17:02 UTC |