Don't know if this is true just of Win32 (running ActivePerl 5.6.1 (633)) but if you use quotes in the shebang line it doesn't work.
i.e.
#!/usr/bin/perl -I"/somedir/"
..won't work but
#!/usr/bin/perl -I/somedir/
.. will.
The /usr/bin/perl wouldn't be strictly correct on Win32, but under ActivePerl it doesn't seem to matter (could set it to the proper DOS path if required).
In reply to Re^3: How to manipulate @INC in a script?
by gothic_mallard
in thread How to manipulate @INC in a script?
by Seventh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |