Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
breaking from a scriptby hostux (Initiate) |
on Jul 31, 2002 at 20:08 UTC ( [id://186584]=perlquestion: print w/replies, xml ) | Need Help?? |
hostux has asked for the wisdom of the Perl Monks concerning the following question:
hi guys,
can you tell me how to break out of a script and return an error if the command 'adduser bob' returns the error 'adduser: user bob already exists'?
Thanks
Back to
Seekers of Perl Wisdom
|
|