Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 399057

Summary: dev-lang/perl installs different LWP than libwww-perl
Product: Gentoo Linux Reporter: Michael Melcher <Michael.Melcher82>
Component: [OLD] LibraryAssignee: Gentoo Perl team <perl>
Status: RESOLVED INVALID    
Severity: normal CC: Michael.Melcher82
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Melcher 2012-01-16 10:59:36 UTC
dev-lang/perl installs the file
/usr/lib/perl5/5.12.4/CPAN/LWP/UserAgent.pm

while dev-perl/libwww-perl installs
/usr/lib/perl5/vendor_perl/5.12.4/LWP/Useragent.pm

the files are not the same and since the file from the libwww-perl contains the function new() and the file from dev-lang/perl does not I presume that that the libwww-perl one is the correct one (see cpan lwp documentation at http://cpan.uwinnipeg.ca/htdocs/libwww-perl/LWP/UserAgent.html#ua_LWP_UserAgent_gt_new_options )

It kinda escapes me why the same perl module is provided twice in different versions, though.

Reproducible: Always
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2012-01-17 05:07:07 UTC
It's not the same module ( CPAN::LWP::UserAgent vs LWP::UserAgent ).

If you want to use LWP::UserAgent then you must install libwww-perl.