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
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
longstanding bug in parsing "require VERSION", could reallocate
[perl5.git]
/
t
/
comp
/
use.t
diff --git
a/t/comp/use.t
b/t/comp/use.t
index
2594f0a
..
dbbda5c
100755
(executable)
--- a/
t/comp/use.t
+++ b/
t/comp/use.t
@@
-5,9
+5,15
@@
BEGIN {
unshift @INC, '../lib';
}
-print "1..1
4
\n";
+print "1..1
5
\n";
my $i = 1;
+eval "use 5.000"; # implicit semicolon
+if ($@) {
+ print STDERR $@,"\n";
+ print "not ";
+}
+print "ok ",$i++,"\n";
eval "use 5.000;";
if ($@) {