X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/1a08a6ab91582d74e16135fa1c131885305144d0..6ae23f4134087bc885284bd6ae11bfeb719e2459:/lib/Tie/File/t/09_gen_rs.t diff --git a/lib/Tie/File/t/09_gen_rs.t b/lib/Tie/File/t/09_gen_rs.t index c202556..7d70e3e 100644 --- a/lib/Tie/File/t/09_gen_rs.t +++ b/lib/Tie/File/t/09_gen_rs.t @@ -104,7 +104,6 @@ if (setup_badly_terminated_file(3)) { $N++; push @a, "next"; check_contents($badrec, "next"); - undef $o; untie @a; } # (51-52) if (setup_badly_terminated_file(2)) { @@ -113,7 +112,6 @@ if (setup_badly_terminated_file(2)) { or die "Couldn't tie file: $!"; splice @a, 1, 0, "x", "y"; check_contents($badrec, "x", "y"); - undef $o; untie @a; } # (53-56) if (setup_badly_terminated_file(4)) { @@ -128,7 +126,6 @@ if (setup_badly_terminated_file(4)) { : "not ok $N \# expected <$badrec>, got <$r[0]>\n"; $N++; check_contents("x", "y"); - undef $o; untie @a; } # (57-58) 20020402 The modifiaction would have failed if $\ were set wrong. @@ -141,7 +138,6 @@ if (setup_badly_terminated_file(2)) { my $z = $a[0]; } check_contents($badrec); - undef $o; untie @a; } sub setup_badly_terminated_file {