Fix a2p translation of '{print "a" "b" "c"}'
[p5sagit/p5-mst-13.2.git] / t / io / read.t
CommitLineData
93c1eb4f 1#!./perl
2
3# $RCSfile$
4
5print "1..1\n";
6
7open(A,"+>a");
8print A "_";
9seek(A,0,0);
10
11$b = "abcd";
12$b = "";
13
14read(A,$b,1,4);
15
16close(A);
17
18if ($b eq "\000\000\000\000_") {
19 print "ok 1\n";
20} else { # Probably "\000bcd_"
21 print "not ok 1\n";
22}