From ba9b1d719d13422abb21d059bd732a760a184388 Mon Sep 17 00:00:00 2001 From: Chris 'BinGOs' Williams Date: Fri, 1 Feb 2013 21:53:23 +0000 Subject: Update Module-Load to CPAN version 0.24 [DELTA] Changes for 0.24 Fri Feb 1 18:14:28 2013 ============================================ * Resolve [rt #83093] "Won't load modules with apostrophes" reported by Dave Golden --- cpan/Module-Load/lib/Module/Load.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpan/Module-Load') diff --git a/cpan/Module-Load/lib/Module/Load.pm b/cpan/Module-Load/lib/Module/Load.pm index 3a83c386a2..6046484744 100644 --- a/cpan/Module-Load/lib/Module/Load.pm +++ b/cpan/Module-Load/lib/Module/Load.pm @@ -1,6 +1,6 @@ package Module::Load; -$VERSION = '0.22'; +$VERSION = '0.24'; use strict; use File::Spec (); @@ -48,7 +48,7 @@ sub _to_file{ my $pm = shift || ''; ## trailing blanks ignored by default. [rt #69886] - my @parts = split /::/, $_, -1; + my @parts = split /::|'/, $_, -1; ## make sure that we can't hop out of @INC shift @parts if @parts && !$parts[0]; -- cgit v1.2.1