[Bug 1048703] New: Module::Pluggable ignores single-letter-named package names
bugzilla at redhat.com
bugzilla at redhat.com
Mon Jan 6 08:01:39 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1048703
Bug ID: 1048703
Summary: Module::Pluggable ignores single-letter-named package
names
Product: Fedora
Version: 20
Component: perl-Module-Pluggable
Assignee: ppisar at redhat.com
Reporter: ppisar at redhat.com
QA Contact: extras-qa at fedoraproject.org
CC: perl-devel at lists.fedoraproject.org, ppisar at redhat.com
External Bug ID: CPAN 89680
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 at fastly.com>
Date: Tue Oct 22 09:32:27 2013 -0700
Allow single letter package names
All Fedoras with perl-Module-Pluggable < 5.00 are affected.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=b6247j23hp&a=cc_unsubscribe
More information about the perl-devel
mailing list