projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
421f30e
)
Don't make C<use legacy> die on unknown legacy names
author
Rafael Garcia-Suarez
<rgs@consttype.org>
Tue, 15 Dec 2009 23:04:34 +0000
(
00:04
+0100)
committer
Rafael Garcia-Suarez
<rgs@consttype.org>
Tue, 15 Dec 2009 23:04:34 +0000
(
00:04
+0100)
So we can use C<use legacy "qubits"> to avoid the new "qubit" behaviour,
without worrying about perls that didn't have qubit support at all. :)
lib/legacy.pm
patch
|
blob
|
history
diff --git
a/lib/legacy.pm
b/lib/legacy.pm
index
eaab5d5
..
1ea7c07
100755
(executable)
--- a/
lib/legacy.pm
+++ b/
lib/legacy.pm
@@
-152,9
+152,6
@@
sub import {
unshift @_, @{$legacy_bundle{$v}};
next;
}
- if (!exists $legacy{$name}) {
- unknown_legacy($name);
- }
$^H |= $unicode8bit::hint_not_uni8bit; # The only valid thing as of yet
}
}