[Bug 1048703] New: Module::Pluggable ignores single-letter-named package names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
          Reporter: ppisar@xxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: perl-devel@xxxxxxxxxxxxxxxxxxxxxxx, ppisar@xxxxxxxxxx
   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@xxxxxxxxxx>
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
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux