Jul 26, 2001, 5:55 PM
Post #2 of 2
It may be easier to abuse the limitationa of a text-only browser such as w3m or lynx (both of which can be run as browser -dump http://www.perlguru.com/ to get text only output).
Alternately, if you'd prefer to stick with Perl, then take a look at the LWP and the HTML::Parser suite of modules.
The former even comes with a demo script that does what you're looking for (lwp-request -o text http://www.perlguru.com/).