LWP::UserAgent::ProgressBar3pm
An lwp user agent that can display a progress bar
Usage
my $url = 'http://...';my $response = LWP::UserAgent::ProgressBar->new->get_with_progress($url);$response->is_success or die "couldn't get $url\n";my $content = $response->content;
Version
version 1.100810
Overview
This class is a subclass of LWP::UserAgent that provides one additional method, described below.
Methods
get_with_progress
Takes the same arguments as LWP::UserAgent's "get()", but overrides the ":content_cb" and ":read_size_hint" arguments. During download, a progress bar is displayed.
post_with_progress
Takes the same arguments as LWP::UserAgent's "post()", but overrides the ":content_cb" and ":read_size_hint" arguments. During download, a progress bar is displayed.
Installation
See perlmodinstall for information and options on installing Perl modules.
Bugs and limitations
No bugs have been reported.
Please report any bugs or feature requests through the web interface at <http://rt.cpan.org/Public/Dist/Display.html?Name=LWP-UserAgent-ProgressBar>.
Copyright and license
This software is copyright (c) 2007 by Marcel Gruenauer.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Releases
5 releases since Debian 9 (Stretch); the text changed 1 time.