Re: "-o <format>" option to lwp-request does not work

Gisle Aas (gisle@aas.no)
01 Sep 1999 10:54:51 +0200


Pythagoras Watson <py@ecst.csuchico.edu> writes:

> Using lwp-request version 1.38 (libwww-perl-5.44), when I run:
>   lwp-request -o text http://web.csuchico.edu/~py/
> 
> I get the error:
>   Can't locate HTML/Parse.pm in @INC (@INC contains:
>   /opt/perl/lib/5.00503/sun4-solaris /opt/perl/lib/5.00503
>   /opt/perl/lib/site_perl/5.005/sun4-solaris /opt/perl/lib/site_perl/5.005
>   .)  at /opt/local/bin/lwp-request line 434.
> 
> I gather that HTML::Parse, HTML::FormatPS, and HTML::FormatText were all
> removed at some point.  However, this make the "-o" option useless.  It
> seems like "-o" option should either be removed or rewritten.

Perhaps.  The error message should certainly be clearer.  If you
install the HTML-Tree modules then the -o option will begin to work
again.  Patches welcomed.

Regards,
Gisle