- 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.
@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.
BTW what is your OS?
Courage, the Cowardly Dog
things, I do for love to perl...