projects
/
p5sagit/p5-mst-13.2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
perl 3.0: (no announcement message available)
[p5sagit/p5-mst-13.2.git]
/
t
/
op.push
1
#!./perl
2
3
# $Header: op.push,v 3.0 89/10/18 15:30:48 lwall Locked $
4
5
print "1..2\n";
6
7
@x = (1,2,3);
8
push(@x,@x);
9
if (join(':',@x) eq '1:2:3:1:2:3') {print "ok 1\n";} else {print "not ok 1\n";}
10
push(x,4);
11
if (join(':',@x) eq '1:2:3:1:2:3:4') {print "ok 2\n";} else {print "not ok 2\n";}