http://qs321.pair.com?node_id=578403


in reply to Any pure-perl html to text? (Or: missing a perl equivalent to 'lynx -dump')

A quick search of cpan gave me HTML::FormatText::WithLinks.

From the POD:
DESCRIPTION

HTML::FormatText::WithLinks takes HTML and turns it into plain text but prints all the links in the HTML as footnotes. By default, it attempts to mimic the format of the lynx text based web browser's --dump option.

Also please use '<code>' not '<pre>' tags when posting, then preview your post before creating.



grep
One dead unjugged rabbit fish later
  • Comment on Re: Any pure-perl html to text? (Or: missing a perl equivalent to 'lynx -dump')

Replies are listed 'Best First'.
Re^2: Any pure-perl html to text? (Or: missing a perl equivalent to 'lynx -dump')
by bronto (Priest) on Oct 15, 2006 at 18:07 UTC
    A quick search of cpan gave me HTML::FormatText::WithLinks

    ...and THIS was the answer! Thanks grep!

    Ciao!
    --bronto


    In theory, there is no difference between theory and practice. In practice, there is.