in reply to Re: Re: Reducing LWP Buffering
in thread Reducing LWP Buffering
open (READER, "$file") or die "Can't read: $!\n"; my $req = HTTP::Request->new('PUT', "$url", undef, \&read_file_in_chun +ks(\*READER)); sub read_file_in_chunks { my ($fh_ref) = @_; my $content; read ($fh_ref, $content, 51200); return $content; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Reducing LWP Buffering
by Corion (Patriarch) on Dec 05, 2003 at 14:08 UTC | |
by Anonymous Monk on Dec 05, 2003 at 14:22 UTC | |
|
Re: Re: Re: Re: Reducing LWP Buffering
by Anonymous Monk on Dec 05, 2003 at 14:29 UTC |