hi, I'm running a unix program through perl using the system command. I want to be able to get the return value of the program and use it within my perl code. Is there a way to do this. Right now the return values I get from the system command are always 0 even though my application exits with an ERROR. When I run the application locally it sets the environment variable $status to 4. This is what I'm interested in for my program. i.e. can I do something like this: system($cmd;echo $status); but instead of echoing status get the return value in my program? Thanks!