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:
a6d5f32
)
[perl #106288] Tests for \scalar @array
author
Father Chrysostomos
<sprout@cpan.org>
Sun, 18 Dec 2011 18:43:25 +0000
(10:43 -0800)
committer
Father Chrysostomos
<sprout@cpan.org>
Sun, 18 Dec 2011 19:15:00 +0000
(11:15 -0800)
t/op/ref.t
patch
|
blob
|
history
diff --git
a/t/op/ref.t
b/t/op/ref.t
index
e2ba10f
..
299ccdb
100644
(file)
--- a/
t/op/ref.t
+++ b/
t/op/ref.t
@@
-8,7
+8,7
@@
BEGIN {
use strict qw(refs subs);
-plan(22
4
);
+plan(22
8
);
# Test glob operations.
@@
-185,6
+185,8
@@
for (
[ 'PVNV', SCALAR => \$pvnv ],
[ 'PVMG', SCALAR => \$0 ],
[ 'PVBM', SCALAR => \PVBM ],
+ [ 'scalar @array', SCALAR => \scalar @array ],
+ [ 'scalar %hash', SCALAR => \scalar %hash ],
[ 'vstring', VSTRING => \v1 ],
[ 'ref', REF => \\1 ],
[ 'substr lvalue', LVALUE => \substr($x, 0, 0) ],