Code Comments
Programming Forum and web based access to our favorite programming groups.I just installed the latest File::Slurp and now I have two of them /usr/lib/perl5/site_perl/5.8.3/File/Slurp.pm /usr/lib/perl5/vendor_perl/5.8.1/File/Slurp.pm a perldoc File::Slurp gives me the site_perl version(the latest) Printing @INC gives me . . /usr/lib/perl5/site_perl/5.8.3 . . /usr/lib/perl5/vendor_perl/5.8.1 perldoc -q @INC does not answer my query, so can I ask Is the print out sequence of @INC consistent and the same as the search pat h? I am very wary of deleting duplicate modules as it seems that those installe d in the "vendor" (Mandrake) directory are necessary for much of Mandrake's operation. TIA -- Owen
Post Follow-up to this messageOwen wrote: > I just installed the latest File::Slurp and now I have two of them > > /usr/lib/perl5/site_perl/5.8.3/File/Slurp.pm > /usr/lib/perl5/vendor_perl/5.8.1/File/Slurp.pm > > a perldoc File::Slurp gives me the site_perl version(the latest) > > Printing @INC gives me > . > . > /usr/lib/perl5/site_perl/5.8.3 > . > . > /usr/lib/perl5/vendor_perl/5.8.1 > > perldoc -q @INC does not answer my query, so can I ask > > Is the print out sequence of @INC consistent and the same as the > search path? Yes. You can confirm it if you like: print File::Slurp->VERSION, "\n"; -- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.