Marcel Grünauer == hanekomu (跳ね込む) > LWP-UserAgent-ProgressBar-0.01 > LWP::UserAgent::ProgressBar

Download:
LWP-UserAgent-ProgressBar-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.01   Source  

NAME ^

LWP::UserAgent::ProgressBar - An LWP user agent that can display a progress bar

SYNOPSIS ^

    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, descibed below.

LWP::UserAgent::ProgressBar inherits from LWP::UserAgent.

The superclass LWP::UserAgent defines these methods and functions:

    new(), _agent(), _need_proxy(), _new_response(),
    _process_colonic_headers(), _request_sanity_check(), agent(), clone(),
    conn_cache(), cookie_jar(), credentials(), default_header(),
    default_headers(), env_proxy(), from(), get(), get_basic_credentials(),
    head(), is_protocol_supported(), max_redirect(), max_size(), mirror(),
    no_proxy(), parse_head(), post(), prepare_request(), progress(),
    protocols_allowed(), protocols_forbidden(), proxy(), redirect_ok(),
    request(), requests_redirectable(), send_request(), simple_request(),
    timeout(), use_alarm(), use_eval()

The superclass LWP::MemberMixin defines these methods and functions:

    _elem()

METHODS ^

get_with_progress

Takes the same argumentes as LWP::UserAgent's get(), but overrides the :content_cb and :read_size_hint arguments. During download, a progress bar is displayed.

TAGS ^

If you talk about this module in blogs, on del.icio.us or anywhere else, please use the lwpuseragentprogressbar tag.

VERSION ^

This document describes version 0.01 of LWP::UserAgent::ProgressBar.

BUGS AND LIMITATIONS ^

No bugs have been reported.

Please report any bugs or feature requests to <bug-lwp-useragent-progressbar@rt.cpan.org>, or through the web interface at http://rt.cpan.org.

INSTALLATION ^

See perlmodinstall for information and options on installing Perl modules.

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://www.perl.com/CPAN/authors/id/M/MA/MARCEL/>.

AUTHOR ^

Marcel Grünauer, <marcel@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright 2007 by Marcel Grünauer

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.