Re: @INC and Modules

2000-11-24 Thread Gerald Richter
> > I ran into strange trouble today. Program/script modules in two different > location, but with identical names e.g. MyDBI.pm . Perl loads the first MyDBI.pm it sees in memory and it will stay there until the interpreter exits. There is no possibility to use two modules with same name at the s

@INC and Modules

2000-11-23 Thread Antti Linno
Apache 1.3.11 mod_perl/1.21 HTML::Embperl 1.3b2 I ran into strange trouble today. Program/script modules in two different location, but with identical names e.g. MyDBI.pm . Scripts always start with BEGIN {unshift @INC,"location"}; . Now when the scripts run, @INC is ignored every fifth time, and