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

Re: [MacPerl] Q: htget for Mac



>}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";
>There's a lot that won't if you just get it from CPAN, including, I
>believe, what you've just written (because it will look for
>LWP/Protocol/http.pm when it should be looking for :LWP:Protocol:http.pm).

Nope, what I wrote (and everything else I've tried so far) works fine with
the version I grabbed from CPAN.

Of course I don't use all of libwww (nor do I think I ever will :-)) so
there could easily be bits that don't work under MacPerl. I'll download
Paul's port and use that.

Thanks for the info Paul.

Brian