(Summary: The anonymous monk wants a progress bar for his
download, which I think might be via HTTP.)
I suppose you are using LWP::Simple
or LWP::UserAgent. You need to use
LWP::UserAgent for this.
Look in the manual for the following version of the
request function:
$response = $ua->request($request, \&callback, 4096);
sub callback { my($data, $response, $protocol) = @_; .... }
Here callback is a function that gets called
automatically every time your program receives 4096 bytes.
callback can be responsible for updating the
progress status bar.