# considering @ry was the tie'd array: my $last_line = $#ry + 1;