5 BEGIN { plan tests => 1 }
9 $SIG{__DIE__} = \&Carp::confess;
11 eval {require IO::String;};
12 skip($@ ? 'no IO::String' : '', sub {
14 my $pod_string = 'some I<silly> text';
15 my $handle = IO::String->new( \$pod_string );
16 my $parser = Pod::Parser->new();
17 $parser->parse_from_file( $0, $handle );
21 my $parser = Pod::Parser->new();
22 $parser->parse_from_file( $0, File::Spec->devnull );
33 This test makes sure the parse_from_file is re-entrant