This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f257c9
)
"Automate" change 32648 (ensure that -E always loads the latest
author
Nicholas Clark
<nick@ccl4.org>
Thu, 27 Dec 2007 19:31:56 +0000
(19:31 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Thu, 27 Dec 2007 19:31:56 +0000
(19:31 +0000)
features)
p4raw-id: //depot/perl@32744
toke.c
patch
|
blob
|
blame
|
history
diff --git
a/toke.c
b/toke.c
index
b13239e
..
04190c3
100644
(file)
--- a/
toke.c
+++ b/
toke.c
@@
-3654,7
+3654,8
@@
Perl_yylex(pTHX)
}
}
if (PL_minus_E)
- sv_catpvs(PL_linestr,"use feature ':5.11';");
+ sv_catpvs(PL_linestr,
+ "use feature ':5." STRINGIFY(PERL_VERSION) "';");
sv_catpvs(PL_linestr, "\n");
PL_oldoldbufptr = PL_oldbufptr = s = PL_linestart = SvPVX(PL_linestr);
PL_bufend = SvPVX(PL_linestr) + SvCUR(PL_linestr);