1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!./perl BEGIN { chdir 't' if -d 't'; @INC = '../lib'; } use Test::More tests => 1; use Tie::Handle; { package Foo; @ISA = qw(Tie::StdHandle); } # For backwards compatibility with 5.8.x ok( Foo->can("TIEHANDLE"), "loading Tie::Handle loads TieStdHandle" );