>> So you could try to
>> * create the directories Kernel/cpan-lib/Net/DNS/Resolver/
>> * get old, working versions of these two files (from cpan.org),
>> * copy them to Kernel/cpan-lib/:
>>   * Kernel/cpan-lib/Net/DNS/Question.pm
>>   * Kernel/cpan-lib/Net/DNS/Resolver/Base.pm
>
> Thanks for the suggestion,
> I did as you suggested and got the 610 versions from CPAN ...
> No luck, still the same error, I guess the webserver still gets the
> global modules ...
> As I am not a perl "guru", do you have any suggestions to put these
> "old" modules to work ?

>Some digging around in perl module land told me that this is not
>going to work ...
>Perl is always preferring system modules above local modules.
>In the index.pl both extra local dirs are "pushed" onto @INC ... and
>as push means "apend", local modules with the same name as global
>modules wil never be used ...

>SO, back to zero ...

You can try extending @INC.  add the line:

unshift @INC, "/{insertFullPathHere}/Kernel/cpan-lib/Net/DNS/";

to index.pl, this way you will search that directory first while using
index.pl.  Would that do what you need?  Hope this helps.

Greg Horne
geh
gehorne

_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/

Reply via email to