Can any one please tell me how to unsubscribe from this list.
Regards,
Subhendu Mohapatra
Freelance web designer
 www.plus2net.com

----- Original Message -----
From: Casey R. Tweten <[EMAIL PROTECTED]>
To: Rob McMillin <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, September 10, 2000 2:55 AM
Subject: Re: How to write output of a GET request to disk?


> Today around 11:16am, Rob McMillin hammered out this masterpiece:
>
> : I've been reading the docs for the libwww code, and was wondering if
> : there is any way to write the output of a request directly to a file on
> : disk. The returned data could be potentially quite large and shouldn't
> : be stored in memory.
>
> The most simple answer I can give you is:
>
> shell> perl -MLWP::Simple -e "getprint('http://www.web.com')" > file.html
>
> : Also, I would like to know if there is a way to just read headers and
> : ignore the rest of the data based on the value of the returned headers.
> : The motivation is to avoid downloading files in cases where the
> : timestamp hasn't changed.
>
> perldoc HTTP::Headers
>
> I would imagine.
>
> --
> print(join(' ', qw(Casey R. Tweten)));my
$sig={mail=>'[EMAIL PROTECTED]',site=>
> 'http://home.kiski.net/~crt'};print
"\n",'.'x(length($sig->{site})+6),"\n";
> print map{$_.':
'.$sig->{$_}."\n"}sort{$sig->{$a}cmp$sig->{$b}}keys%{$sig};
> my $VERSION = '0.01'; #'patched' by Jerrad Pierce <belg4mit at MIT dot
EDU>
>
>

Reply via email to