in reply to Has html-parser will be part of perl standard build

To add, you can check if the module is installed (in the default path) by using

perl -MHTML::Parser -le 'print "yay..."'

or

perldoc HTML::Parser

on *nix machines. Not sure about Windows.

- J

Replies are listed 'Best First'.
Re^2: Has html-parser will be part of perl standard build
by GrandFather (Saint) on Mar 28, 2011 at 20:04 UTC

    No need for the print. Just:

    perl -MHTML::Parser -e ;

    is fine. You'll get:

    Can't locate HTML/Parser.pm in @INC (@INC contains: ...

    if it's not there and silence otherwise.

    True laziness is hard work
Re^2: Has html-parser will be part of perl standard build
by ww (Archbishop) on Mar 28, 2011 at 18:21 UTC
    for windows, jaimon's perldoc example is fine at the command line; for his first, just swap the quotes around to satisfy Windows syntax (eg, perl -MHTML::Parser -le "print 'yay...'")