summaryrefslogtreecommitdiff
path: root/cpan/Module-Load
diff options
context:
space:
mode:
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>2013-02-01 21:53:23 +0000
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>2013-02-01 21:53:23 +0000
commitba9b1d719d13422abb21d059bd732a760a184388 (patch)
treeb7157a07d8df61dfbd95f2b72efef272acde15bf /cpan/Module-Load
parent93744585e00eaf4a39b14bacaef4131f0143a2f9 (diff)
downloadperl-ba9b1d719d13422abb21d059bd732a760a184388.tar.gz
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
Diffstat (limited to 'cpan/Module-Load')
-rw-r--r--cpan/Module-Load/lib/Module/Load.pm4
1 files changed, 2 insertions, 2 deletions
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];