15 # this is essentially the same as a test on a lexical filehandle in
16 # t/io/open.t, but done in a separate test process against a standard
19 # check that we can call methods on filehandles auto-magically
20 # and have IO::File loaded for us
22 is( $INC{'IO/File.pm'}, undef, "IO::File not loaded" );
23 ok( eval { STDOUT->autoflush(1); 1 }, 'STDOUT->autoflush(1) lives' );
24 ok( $INC{'IO/File.pm'}, "IO::File now loaded" );