in reply to Precedence in @INC

update as Abigail-II showed below, that was the wrong way, and I still remember, that my problem was the PERL5LIB. Sorry for the confusion ..

Not sure if this helps, but I've got a similar problem, that was fixed by using the -T switch!?

But I have no clue, why ...

Try:
#!/usr/bin/perl -T
in the first line.

-----------------------------------
--the good, the bad and the physi--
-----------------------------------

Replies are listed 'Best First'.
Re: Precedence in @INC
by Abigail-II (Bishop) on May 19, 2003 at 22:20 UTC
    The effect of the -T switch on @INC is that the environment variable PERL5LIB will be ignored.

    That has nothing at all to do with the problem on hand.

    Please, if you have no clue whether your suggestion is useful, resist the urge for "first post", and wait if someone gives a useful answer. If after half a day the question is still unanswered, you could always come back with an answer. Remember that your answer will be archived and could show up on a site search. Wrong answer reduce the usefulness of site searches.

    Abigail