summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlperl/lib/Module/Load.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/tlperl/lib/Module/Load.pm')
-rw-r--r--Master/tlpkg/tlperl/lib/Module/Load.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/tlpkg/tlperl/lib/Module/Load.pm b/Master/tlpkg/tlperl/lib/Module/Load.pm
index 3a83c386a27..60464847449 100644
--- a/Master/tlpkg/tlperl/lib/Module/Load.pm
+++ b/Master/tlpkg/tlperl/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];