| 1 |
NAME |
| 2 |
LWP::UserAgent::ProgressBar - An LWP user agent that can display a |
| 3 |
progress bar |
| 4 |
|
| 5 |
VERSION |
| 6 |
version 1.100810 |
| 7 |
|
| 8 |
SYNOPSIS |
| 9 |
my $url = 'http://...'; |
| 10 |
my $response = LWP::UserAgent::ProgressBar->new->get_with_progress($url); |
| 11 |
$response->is_success or die "couldn't get $url\n"; |
| 12 |
my $content = $response->content; |
| 13 |
|
| 14 |
DESCRIPTION |
| 15 |
This class is a subclass of LWP::UserAgent that provides one additional |
| 16 |
method, described below. |
| 17 |
|
| 18 |
METHODS |
| 19 |
get_with_progress |
| 20 |
Takes the same arguments as LWP::UserAgent's "get()", but overrides the |
| 21 |
":content_cb" and ":read_size_hint" arguments. During download, a |
| 22 |
progress bar is displayed. |
| 23 |
|
| 24 |
post_with_progress |
| 25 |
Takes the same arguments as LWP::UserAgent's "post()", but overrides the |
| 26 |
":content_cb" and ":read_size_hint" arguments. During download, a |
| 27 |
progress bar is displayed. |
| 28 |
|
| 29 |
INSTALLATION |
| 30 |
See perlmodinstall for information and options on installing Perl |
| 31 |
modules. |
| 32 |
|
| 33 |
BUGS AND LIMITATIONS |
| 34 |
No bugs have been reported. |
| 35 |
|
| 36 |
Please report any bugs or feature requests through the web interface at |
| 37 |
<http://rt.cpan.org/Public/Dist/Display.html?Name=LWP-UserAgent-Progress |
| 38 |
Bar>. |
| 39 |
|
| 40 |
AVAILABILITY |
| 41 |
The latest version of this module is available from the Comprehensive |
| 42 |
Perl Archive Network (CPAN). Visit <http://www.perl.com/CPAN/> to find a |
| 43 |
CPAN site near you, or see |
| 44 |
<http://search.cpan.org/dist/LWP-UserAgent-ProgressBar/>. |
| 45 |
|
| 46 |
The development version lives at |
| 47 |
<http://github.com/hanekomu/LWP-UserAgent-ProgressBar/>. Instead of |
| 48 |
sending patches, please fork this project using the standard git and |
| 49 |
github infrastructure. |
| 50 |
|
| 51 |
AUTHOR |
| 52 |
Marcel Gruenauer <[email protected]> |
| 53 |
|
| 54 |
COPYRIGHT AND LICENSE |
| 55 |
This software is copyright (c) 2007 by Marcel Gruenauer. |
| 56 |
|
| 57 |
This is free software; you can redistribute it and/or modify it under |
| 58 |
the same terms as the Perl 5 programming language system itself. |
| 59 |
|