Subject: | Can't call method "getline" without a package or object reference |
$>cat test
=pod
=head1 HI
hello
=cut
use Pod::SAX;
use XML::SAX::Writer;
my $h = XML::SAX::Writer->new();
my $p = Pod::SAX->new( Handler => $h );
$p->parse_file(__FILE__);
__END__
E:\dev\LOOSE>perl test
<pod>
<!-- Pod::SAX v0.14, using POD::Parser v1.13 -->Can't locate object method "getline" via package "test" (perhaps you for
got to load "test"?) at C:/Perl/site/lib/Pod/Parser.pm line 1060.
$>