in reply to Re: Problem using -I argument with Perl
in thread Problem using -I argument with Perl

In Windows, Perl checks the shebang line for options.
>type script.pl #!perl -Imoo $,=", "; $\="\n"; print @INC; >perl script.pl r:/Utils/perl/lib, r:/Utils/perl/site/lib, ., moo

-I... adds to the end @INC.
-Mlib=... adds to the front of @INC. (better)