LWP::U...ressBar(3pm)
β¨ NAME β¨
LWP::UserAgent::ProgressBar β it's an LWP user agent, bestie, but make it glow π
she shows you a progress bar while stuff downloads.
(also hi, this is a page from the User Contributed Perl Documentation, section 3pm, and the manpage name is LWP::U...ressBar(3pm) if you're out here grepping for it π«Ά)
πΈ VERSION πΈ
version 1.100810 β
π SYNOPSIS π
okay so like, here's the whole vibe:
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;
literally that's it. no cap. π
π¦ DESCRIPTION π¦
This class is a subclass of LWP::UserAgent (yes she inherited the whole wardrobe π) and she provides one additional method, described below. That's the whole flex. Iconic behaviour, honestly.
π METHODS π
get_with_progress
Takes the exact same arguments as LWP::UserAgent's "get()", but it overrides the ":content_cb" and ":read_size_hint" arguments. And while the download is happening? A progress bar is displayed. β¨ That's the moment. That's the main character energy.
post_with_progress
Same situation, different verb β takes the same arguments as LWP::UserAgent's "post()", but again overrides the ":content_cb" and ":read_size_hint" arguments. During download, a progress bar is displayed. π
π§ INSTALLATION π§
See perlmodinstall for the info and the options on installing Perl modules. (go read it, it's giving instructional π
)
π BUGS AND LIMITATIONS π
No bugs have been reported. Not a single one. We're thriving π
Please report any bugs or feature requests through the web interface at <http://rt.cpan.org/Public/Dist/Display.html?Name=LWP-UserAgent-ProgressBar>.
π AVAILABILITY π
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. fork it bestie, that's the assignment π«Ά
π AUTHOR π
Marcel Gruenauer <marcel@cpan.org>
πΈ 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. slay, legally speaking βοΈβ¨
and that's a wrap on the whole page!! this one was rendered byperl v5.34.0and dated2022-06-15, and the manpage goes byLWP::U...ressBar(3pm)β ily, go download something with a cute little progress bar π ππ¦
π¦ where this page comes from
- debian bookworm: liblwp-useragent-progressbar-perl 1.100810-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: liblwp-useragent-progressbar-perl 1.100810-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: liblwp-useragent-progressbar-perl 1.100810-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: liblwp-useragent-progressbar-perl 1.100810-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: liblwp-useragent-progressbar-perl 1.100810-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms