NAME
WWW::LargeFileFetcher - The great new WWW::LargeFileFetcher!
VERSION
Version 0.01
SYNOPSIS
use WWW::LargeFileFetcher;
my $fetcher = WWW::LargeFileFetcher->new();
$fetcher->get('http://www.example.com/video.rm', 'video.rm');
DESCRIPTION
C<WWW::LargeFileFetcher> is used to fetch large files (like
videos, audios) from internet.
METHODS
- $fetcher = WWW::LargeFileFetcher->new(%opinions);
-
The opinions hash can be: agent=>'the agent string', timeout=>time in seconds, proxy=>'http proxy to be used'
- $fetcher->get($url,$filename);
-
The return value can be: 1 : success -1 : IO error -2 : internet access error
The detailed error string can be accessed from $fetcher->err_str();
- $fetcher->test($url);
-
This method is used to test whether the $url is downloadable.
AUTHOR
Zhang Jun, <jzhang533 at gmail.com>
BUGS
Please report any bugs or feature requests to bug-www-largefilefetcher at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-LargeFileFetcher. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc WWW::LargeFileFetcher
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-LargeFileFetcher
Search CPAN
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2007 Zhang Jun, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.