Thanks for the feed back. Hi can you explain what the below code actually do
# set up callback { my $gen = $req->content(); die unless ref($gen) eq "CODE"; my $i = 0; $req->content( sub { my $chunk = &$gen(); # get chunk of data warn $i++; return $chunk; # send it to $url } );
In reply to Re^3: POST'ing a large File with LWP::UserAgent
by Anonymous Monk
in thread POST'ing a large File with LWP::UserAgent
by overrider
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |