http://qs1969.pair.com?node_id=468482


in reply to /usr/bin/perl -w?

Just at a guess, your script has a CR at the end of the shebang line?