Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 399057 - dev-lang/perl installs different LWP than libwww-perl
Summary: dev-lang/perl installs different LWP than libwww-perl
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-16 10:59 UTC by Michael Melcher
Modified: 2012-01-17 05:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.