Skip to content

mugenken/p5-File-Download

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File::Download 0.1 -- a module for downloading large files

	Copyright (c) 2009 Byrne Reese, Gisle Aas. 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 this module, please run:

	perl Makefile.PL
	make
	make test
	make install

For more information on the module, please see the POD documentation
inside Download.pm. ("perldoc File::Download", once it is installed.)

DISCLAIMER

The code for this module is taken almost entirely from the lwp-download
script found in LWP or libwww-perl. It has been abstracted into a 
module for better portability and re-use.

USAGE

my $dwn = File::Download->new({
    file => $argfile,
    overwrite => 1,
    mode => ($opt{a} ? 'a' : 'b'),
});

print "Downloading $url\n";
print $dwn->download($url);
print $dwn->status();

About

Port the CPAN module to use Moo instead of Class::Accessor.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages