WWW::LargeFileFetcher - a module used to fetch large files from internet.
Version 0.02
use WWW::LargeFileFetcher; my $fetcher = WWW::LargeFileFetcher->new(); $fetcher->get('http://www.example.com/video.rm', 'video.rm');
C<WWW::LargeFileFetcher> is used to fetch large files (like videos, audios) from internet.
The opinions hash can be: agent=>'the agent string', timeout=>time in seconds, proxy=>'http proxy to be used'
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();
This method is used to test whether the $url is downloadable.
Return the detail description of the error occured.
Zhang Jun, <jzhang533 at gmail.com>
<jzhang533 at gmail.com>
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.
To install WWW::LargeFileFetcher, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::LargeFileFetcher
CPAN shell
perl -MCPAN -e shell install WWW::LargeFileFetcher
For more information on module installation, please visit the detailed CPAN module installation guide.