in reply to getting multiple return values from system()

You get the return value of any command in $? >> 8. I don't understand the title of your question (which is different from the content) though. What do you mean with "multiple return values"? A process only has a single return value. And it's an integer between 0 and 255, inclusive.

Replies are listed 'Best First'.
Re^2: getting multiple return values from system()
by handarbyte (Initiate) on Jul 25, 2009 at 17:13 UTC
    Sorry, what I ment was: one return value from the ssh command and one from the useradd command. My question was for the second one only. Thank you for the fast response! handarbyte