projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
8620748
)
ensure that utf8 Perl code magically called from a regex localizes $.
Dave Mitchell [Mon, 3 May 2004 13:28:24 +0000 (13:28 +0000)]
p4raw-id: //depot/perl@22771
lib/utf8_pva.pl
patch
|
blob
|
blame
|
history
diff --git
a/lib/utf8_pva.pl
b/lib/utf8_pva.pl
index
3cd9efd
..
0f7d41c
100644
(file)
--- a/
lib/utf8_pva.pl
+++ b/
lib/utf8_pva.pl
@@
-11,7
+11,8
@@
for (@INC) {
use Carp 'confess';
-local $_;
+local *_;
+local $.; # localizes Pl_last_in_gv
open PA, "< $dir/unicore/PropertyAliases.txt"
or confess "Can't open PropertyAliases.txt: $!";