Re: custom return value from entire script

2003-07-23 Thread HENRY,MARK (HP-Roseville,ex1)
Thanks guys for replying to my request for 'elp. Looks like I'll go with the 'print the value in the perl script and assign the value to a shell variable in the calling script' (thx tigger). The db record ID I want to capture contains letters, so ABC1234 is probably not a vald return value. Eith

Re: custom return value from entire script

2003-07-18 Thread Paul Archer
> 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? > The 'exit' command should work just like it does in the shell: 'exit 9;' for example, *should* give you an exit status of 9 (although I couldn't get it to work for me a m

Re: custom return value from entire script

2003-07-17 Thread david
Mark Henry wrote: > 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 obtai

RE: custom return value from entire script

2003-07-17 Thread wiggins
On Thu, 17 Jul 2003 17:29:49 -0400, "HENRY,MARK (HP-Roseville,ex1)" <[EMAIL PROTECTED]> wrote: > 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