Bug 1048703 - Module::Pluggable ignores single-letter-named package names
Summary: Module::Pluggable ignores single-letter-named package names
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Module-Pluggable
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-06 08:01 UTC by Petr Pisar
Modified: 2014-07-02 13:34 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
: 1048708 (view as bug list)
Environment:
Last Closed: 2014-07-02 13:34:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CPAN 89680 0 None None None Never

Description Petr Pisar 2014-01-06 08:01:39 UTC
Having two files:

$ cat M.pm 
print join(',', M->plugins), "\n";

package M;
use Module::Pluggable search_path => [ 'M' ];

$ cat M/X.pm 
package M::X;
1;

`perl M.pm' should locate M::X plug-in and print the name to standard output like this:

$ perl -I/home/petr/Module-Pluggable/lib M.pm 
M::X

However it does not.

This issue has been reported to upstream <https://rt.cpan.org/Public/Bug/Display.html?id=89680> and fixed in commit:

commit 7872bc27ac7f828a6b53d00717abdf83f2d1866d
Author: Simon Wistow <simon>
Date:   Tue Oct 22 09:32:27 2013 -0700

    Allow single letter package names

All Fedoras with perl-Module-Pluggable < 5.00 are affected.

Comment 1 Fedora Update System 2014-01-06 08:19:34 UTC
perl-Module-Pluggable-4.80-292.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/perl-Module-Pluggable-4.80-292.fc20

Comment 2 Fedora Update System 2014-01-06 08:19:59 UTC
perl-Module-Pluggable-4.8-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/perl-Module-Pluggable-4.8-2.fc19

Comment 3 Fedora Update System 2014-01-15 06:02:08 UTC
perl-Module-Pluggable-4.8-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Fedora Update System 2014-01-15 06:08:48 UTC
perl-Module-Pluggable-4.80-292.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.