The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use strict; use warnings;
my $t; use lib ($t = -e 't' ? 't' : 'test');
use File::Spec::Functions;
use Test::More;
use IO::All;
use IO_All_Test;

my $f = catfile($t, 'mystuff');
my @lines = read_file_lines($f);
plan(tests => 1 + @lines + 1);

my $io = io($f)->tie;
is($io->autoclose(0) . '', $f);
while (<$io>) {
    is($_, shift @lines);
}
ok(close $io);

del_output_dir();