Type which perl at the command line, since your script works with that one, and change your #! line accordingly.
In reply to Re: use strict; by chipmunk in thread use strict; by snowrider