3 # Make sure we can fetch a record in the middle of the file
4 # before we've ever looked at any records before it
6 # (tests _fill_offsets_to() )
10 my $data = "rec0$/rec1$/rec2$/";
16 print "ok $N\n"; $N++;
18 open F, "> $file" or die $!;
24 my $o = tie @a, 'Tie::File', $file;
25 print $o ? "ok $N\n" : "not ok $N\n";
32 print $a[$_] eq "rec$_$/" ? "ok $N\n" : "not ok $N # rec=$a[$_] ?\n";