Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: Perl oddities

by Joost (Canon)
on Mar 01, 2005 at 17:03 UTC ( #435526=note: print w/replies, xml ) Need Help??


in reply to Re^2: Perl oddities
in thread Perl oddities

IMO system() (and related ops) should just raise an exception on error. There is no reason to force everyone to write all these return code checks when 90 % of the time you'll want to bail out on error anyway (and if not, you can use eval, or try() in perl6).