One thing at a time all the time!

Welcome to Rocteur
Saturday, April 27 2024 @ 04:21 AM CEST

How to test the result of a system call

To find out if it is, test the return value from system().

system( 'process' ) == 0 or die "system 'process' failed: $?";

perldoc -f system

John

FAQ Manager » Perl » How to test the result of a system call