LWP::UserAgent::ProgressBar - An LWP user agent that can display a progress bar |
LWP::UserAgent::ProgressBar - An LWP user agent that can display a progress bar
version 1.100810
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;
This class is a subclass of the LWP::UserAgent manpage that provides one additional method, described below.
Takes the same arguments as the LWP::UserAgent manpage's get()
, but overrides the
:content_cb
and :read_size_hint
arguments. During download, a progress
bar is displayed.
Takes the same arguments as the LWP::UserAgent manpage's post()
, but overrides the
:content_cb
and :read_size_hint
arguments. During download, a progress
bar is displayed.
See perlmodinstall for information and options on installing Perl modules.
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.
The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see http://search.cpan.org/dist/LWP-UserAgent-ProgressBar/.
The development version lives at http://github.com/hanekomu/LWP-UserAgent-ProgressBar/. Instead of sending patches, please fork this project using the standard git and github infrastructure.
Marcel Gruenauer <marcel@cpan.org>
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.
LWP::UserAgent::ProgressBar - An LWP user agent that can display a progress bar |