in reply to Re: Problem in my coding
in thread Problem in my coding

In addition, check the value of $? after the system call. It contains a processed value of the exit code of the program (divide by 256 and you'll get very close), it'll be non-zero if there was an error.