Net::Download::Queue::Download
Set domain and bytesContent.
Return array with all current downloads.
Return array with all downloading downloads.
Return total size of current downloads.
Return total size of downloading downloads.
Set the download status to download done ok. Set the bytesDownloaded to bytesContent.
Return 1, die on errors.
Set the download status to queued.
Set the download status to downloading.
Set the total number of bytes downloaded in this download.
Attempt to perform download and set the status accordingly.
Perform the download regardless of the current status.
$rsStart, $rsReceived, $rsCheckCancel are sub refs which are called during the download.
$rsStart->($contentLength) Called once. $rsReceived->($bytesReceived) Called for each chunk downloaded. $rsCheckCancel->() Called for each chunk. Should return true if the download should be cancelled, else false.
Return the domain part of $url, or "" if none was found.
Die on errors.
Return the Content-Length of HEAD $url, or 0 if none was found.
Johan Lindstrom, <johanl@cpan.org>
<johanl@cpan.org>
Please report any bugs or feature requests to bug-net-download-queue@rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-Download-Queue. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-net-download-queue@rt.cpan.org
Copyright 2005 Johan Lindstrom, 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 Net::Download::Queue, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Download::Queue
CPAN shell
perl -MCPAN -e shell install Net::Download::Queue
For more information on module installation, please visit the detailed CPAN module installation guide.