Footprintless::Resource::UrlProvider - A resource provider for resources retrieved by URL
version 1.14
Creates a new Footprintless::Resource::UrlProvider that will use $agent to retrieve the resources. $agent should be an instance of LWP::UserAgent.
Footprintless::Resource::UrlProvider
$agent
LWP::UserAgent
Downloads $resource and returns the filename it downloaded to. The returned filename may be an object which overrides the "" operator so that when used in string context, you will get the actual filename. The supported options are:
$resource
""
The path of a directory or filename to download to.
Returns the Footprintless::Resource::Url indicated by $spec.
Footprintless::Resource::Url
$spec
Returns 1. This provider will attempt to support any spec string. If $spec is missing the scheme part, it will be set to file://. For example, /foo/bar would result in the URL file:///foo/bar.
1
file://
/foo/bar
file:///foo/bar
Lucas Theisen <lucastheisen@pastdev.com>
This software is copyright (c) 2016 by Lucas Theisen.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Please see those modules/websites for more information related to this module.
Footprintless
Footprintless::Resource::Provider
Footprintless::ResourceManager
URI
To install Footprintless, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Footprintless
CPAN shell
perl -MCPAN -e shell install Footprintless
For more information on module installation, please visit the detailed CPAN module installation guide.