in reply to Compiling Perl with correct values in @INC
- perl built on different OSes has different logic for @INC population.
- Your script will work just fine if you'll place at the very start of it:
I use that approach sometimes in my scripts.BEGIN { @INC = ('/dir1','/your/special/dir/here'); } # rest of your code goes here - recompiling perl is much easier that it initially seemes to. And lot of platform-specific READMEs help a lot.
Courage, the Cowardly Dog
things, I do for love to perl...
In Section
Seekers of Perl Wisdom