File: README

package info (click to toggle)
liblwp-useragent-progressbar-perl 1.100810-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 208 kB
  • ctags: 4
  • sloc: perl: 542; makefile: 4
file content (59 lines) | stat: -rw-r--r-- 1,934 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
NAME
    LWP::UserAgent::ProgressBar - An LWP user agent that can display a
    progress bar

VERSION
    version 1.100810

SYNOPSIS
        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;

DESCRIPTION
    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-Progress
    Bar>.

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.

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.