Skip Menu |

This queue is for tickets about the Module-Pluggable CPAN distribution.

Report information
The Basics
Id: 89680
Status: resolved
Priority: 0/
Queue: Module-Pluggable

People
Owner: Nobody in particular
Requestors: sbaynes [...] mail.com
Cc:
AdminCc:

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



Subject: Module-Pluggable ignores single letter package names.
The following line in M::P::Object next unless $plugin =~ m!(?:[a-z\d]+)[a-z\d]!i; seems to reject without any explained reason plugin names that do not contain two successive alpha numeric characters. Probably not a big issue in practice, but a frustrating waste of time when exploring the functionality and just happen to use names like M::X.
Wow, good catch :) I'll have a fix on Github soon.
Fixed in https://github.com/simonwistow/Module-Pluggable/commit/7872bc27ac7f828a6b53d00717abdf83f2d1866d Should be on CPAN today. On Tue Oct 22 12:28:18 2013, SIMONW wrote: Show quoted text
> Wow, good catch :) > > I'll have a fix on Github soon.
From: ppisar [...] redhat.com
Dne Út 22.říj.2013 12:36:43, SIMONW napsal(a): Show quoted text
> Fixed in https://github.com/simonwistow/Module- > Pluggable/commit/7872bc27ac7f828a6b53d00717abdf83f2d1866d > > Should be on CPAN today. > > On Tue Oct 22 12:28:18 2013, SIMONW wrote:
> > Wow, good catch :) > > > > I'll have a fix on Github soon.
The t/25single_letter_package.t is missing in the 5.0 distribution. -- Petr
On Mon Jan 06 02:27:35 2014, ppisar wrote: Show quoted text
> The t/25single_letter_package.t is missing in the 5.0 distribution.
Fixed and released in 5.1, on CPAN now. Thanks! Simon