in reply to trapping return values

Have a look at the perlfunc:system documentation or run a super search ... This topic has been brought up and discussed previously.
 

 
Ooohhh, Rob no beer function well without!