The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!perl -w
use strict;
use Test::More tests => 3;
use_ok('IO::Automatic');
my $scalar;
my $io = IO::Automatic->new( \$scalar );
ok( $io, "got an IO for a scalar ref" );
print $io "Hello, World";
is( $scalar, "Hello, World", "scalar printed to" );