10 print "ok $N\n"; $N++;
12 my $o = tie @a, 'Tie::File', $file;
13 print $o ? "ok $N\n" : "not ok $N\n";
17 check_contents("rec0$/");
19 check_contents("rec0$/rec1$/");
20 $a[2] = "rec2$/$/"; # should we detect this?
21 check_contents("rec0$/rec1$/rec2$/$/");
28 { local $/; $a = <FH> }
29 $a = "" unless defined $a;
33 s{$/}{\\n}g for $a, $x;
34 print "not ok $N\n# expected <$x>, got <$a>\n";