[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Q: htget for Mac



Dan Shoop writes:
|I'm looking for a working copy of htget for the Mac that will handle
|recursive links in the file and convert URLs to relative URLs in the
|htgotten files.

I'd suggest looking at libwww. It's available on CPAN and has a
vast array of functions for dealing with URLs, HTML, etc. For example:

use LWP::Simple;

$page = get "http://www.x.com/dir/file";

is all that's needed to get an HTML page. And at least the bits I've
used work under MacPerl without change.

Brian