Hi All,

Anyone know if it's possible for the return/exit value of a script, in the
event of success, to be something other than 0?

I want to call, from a shell script, a perl script that determines a certain
record ID from a database.  When the ID has been obtained, the script would
exit, and the calling shell script would receive the returned value.

The 'return' command doesn't allow this - I've thought of setting an env
variable - not sure how to export it from perl so the environment sees it.
Would like to get plan A to work first though..

Many thanks,

Mark

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to