in reply to Run shell script in perl

Try
system ("/full/path/to/set") == 0 or die "Cannot run set:$?";
I.e. if the error code from set is anything but zero, stop running and show me the external program error code ($?). Use the full path to make sure that you're running the right thing. Also, the current directory may or may not be in your path.

--
Regards,
Helgi Briem
hbriem AT f-prot DOT com