http://www.perlmonks.org?node_id=1023115


in reply to Issue with #!usr/bin/perl

Most of the time, the shebang line is ignored on Windows. However, if you have Cygwin or something similar installed, those environments will read and act upon it. My only guess is that you're trying to use something like Cygwin's Perl and that you have a typo in your shebang line. I think "#!usr/bin/perl" should be "#!/usr/bin/perl" like in kcott's post. Basically, you're missing the first forward slash before usr.