in reply to trapping return values

what do you want?

exit code? system('command'); $exit_code = $? >> 8

stdout from program? $output = `command`;

everything, even stderr? once again: program output and return code

try the perl documentation for perlfunc:system, as well

~Particle