good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: system() requires double ctrl-cby saintmike (Vicar) |
on Nov 10, 2008 at 08:40 UTC ( [id://722580]=note: print w/replies, xml ) | Need Help?? |
For people that do error checking, it's not a problem. die if !system("some_long_running_shell_command");You mean die if system(...) as system returns 0 on success ... ok, this works for simple scripts, but in the general case you might want the script to handle the error instead of dying.
In Section
Seekers of Perl Wisdom
|
|