Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to use HTML::Parser to clean-up and extract some content from a website. I keep getting the following error message.

Can't locate auto/HTML/Parser/tag.al in @INC (@INC contains: /Users/tima/Desktop/nat /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl .) at /Users/tima/Desktop/nat/clean.pl line 93

Thing is I do not know nor can Google a reference to what tag.al is. Has anyone run into this before? Does anyone know why this is happening?

I'm running this on Mac OS X/Darwin with Perl 5.6. I'm running version 3.28 of the HTML::Parser -- the latest in CPAN.

Replies are listed 'Best First'.
Re: HTML::Parser: Cannot locate tag.al?
by rob_au (Abbot) on May 06, 2003 at 02:35 UTC
    The error message which you are encountering is a result of Perl being unable to load HTML::Parser module components via the AutoLoad mechanism - See this article from The Perl Journal for a discussion of this mechanism. This error is most likely due to a failed installation of this module. While there are no tests listed on http://testers.cpan.org for the latest version of HTML::Parser, previous versions have been installed and successfully tested on Mac OS/X Darwin.

    As such, your best course of action would be re-install this module as per the module installation instructions. Make sure that you also perform the make tests installation step as this will give you an indication as to why things are failing if you are still experiencing issues with this module.

     

    perl -le 'print+unpack("N",pack("B32","00000000000000000000001001010111"))'