Tony and Chas, thanks for the help. First problem was using switched from DOS PC to UNIX system which had no idea what #! c:\perl was since it wanted #! /usr/global/perl.
Don't really understand how $exit_value = $? >> 8; $signal_num = $? & 127; $dumped_core = $? & 128; will be useful. BTW tuesdays are bad days for missile launch so easy on the button Chas, please. Yeah, Tony your sturcture worked fine... except.... system "tar cvf ./test.tar *.grib" if ($? == 0) { print "\nSuccess!\n"; } else { print "\nUnsuccessful!\n"; } printed "Success!" even thought there were no *.grib files.... gotta find another way. But thanks for the assistance, greatly appreciated. -s _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]