Subject: | autosplit error on calling methods not in XML::LibXML |
I made a typo when trying out XML::LibXML like this:
use XML::LibXML;
my $parser = XML::LibXML->new();
my $doc = $parser->parsefile($infile);
('parsefile' should have been 'parse_file' ). I got this error from that
piece of code:
Can't locate auto/XML/LibXML/parsefile.al in @INC (@INC contains: ....
In retrospect I'd expected a "Can't locate object method 'parsefile' via
XML::LibXML" type of error, since the error I got got me searching for
all kinds of things that were wrong with my installation, instead of
noticing my typo.
I saw this behaviour at least on 2 different OSes:
1) XML::LibXML version 1.62 / perl5.8.7 / FreeBSD 5.4-RELEASE
2) XML::LibXML version 1.58 / perl5.8.7 / Linux 2.6.15-27-amd64-generic
Emile