Skip Menu |

This queue is for tickets about the Business-OnlinePayment-SurePay CPAN distribution.

Report information
The Basics
Id: 105261
Status: open
Priority: 0/
Queue: Business-OnlinePayment-SurePay

People
Owner: Nobody in particular
Requestors: Ralf.Neubauer [...] wido.bv.aok.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Module name space pollution
Date: Tue, 16 Jun 2015 12:12:30 +0000
To: "bug-Business-OnlinePayment-SurePay [...] rt.cpan.org" <bug-Business-OnlinePayment-SurePay [...] rt.cpan.org>
From: "Neubauer, Ralf" <ralf.neubauer [...] wido.bv.aok.de>
Hi, as you can see in https://metacpan.org/release/Business-OnlinePayment-SurePay Business::OnlinePayment::SurePay provides the following packages Auth in SurePay.pm AuthResponse in SurePay.pm Common in SurePay.pm CreditCard in SurePay.pm LineItem in SurePay.pm RequestManager in SurePay.pm Text in SurePay.pm This leads to this strange behaviour of cpan and cpanm: D:\>cpan -A Text CPAN: CPAN::SQLite loaded ok (v0.204) CPAN: LWP::UserAgent loaded ok (v6.13) CPAN: Time::HiRes loaded ok (v1.9726) Fetching with LWP: http://cpan.strawberryperl.com/authors/01mailrc.txt.gz CPAN: YAML::XS loaded ok (v0.59) Fetching with LWP: http://cpan.strawberryperl.com/modules/02packages.details.txt.gz Fetching with LWP: http://cpan.strawberryperl.com/modules/03modlist.data.gz Creating database file ... Done! Text AKHOBOV akhobov@yahoo.com Alexey Khobov D:\>cpanm --info Text AKHOBOV/Business-OnlinePayment-SurePay-0.01.tar.gz Ralf
On 2015-06-16 05:12:45, Ralf.Neubauer@wido.bv.aok.de wrote: Show quoted text
> Hi, > > as you can see in > > https://metacpan.org/release/Business-OnlinePayment-SurePay > > Business::OnlinePayment::SurePay provides the following packages > > Auth in SurePay.pm > AuthResponse in SurePay.pm > Common in SurePay.pm > CreditCard in SurePay.pm > LineItem in SurePay.pm > RequestManager in SurePay.pm > Text in SurePay.pm
To correct this, declare your "internal" packages thusly in code: package # hide from PAUSE SurePay::Auth; ..and delete the existing distribution tarball from PAUSE (via pause.perl.org) when you upload a replacement version.