Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Has html-parser will be part of perl standard build

by jaimon (Sexton)
on Mar 28, 2011 at 16:27 UTC ( [id://895961]=note: print w/replies, xml ) Need Help??


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...'")

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://895961]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2024-04-19 14:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found