Alien::Build::Plugin::Fetch::LWP - Plugin for fetching files using LWP
Contents
Copyright And License
This software is copyright (c) 2011-2022 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5
programming language system itself.
perl v5.40.0 2024-11-15 Alien::Build::Plugin::Fetch::LWP(3pm)
Description
Note: in most case you will want to use Alien::Build::Plugin::Download::Negotiate instead. It picks the
appropriate fetch plugin based on your platform and environment. In some cases you may need to use this
plugin directly instead.
This fetch plugin fetches files and directory listings via the "http" "https", "ftp", "file" protocol
using LWP. If the URL specified uses the "https" scheme, then the required SSL modules will
automatically be injected as requirements. If your initial URL is not "https", but you know that it will
be needed on a subsequent request you can use the ssl property below.
Name
Alien::Build::Plugin::Fetch::LWP - Plugin for fetching files using LWP
Properties
url
The initial URL to fetch. This may be a directory listing (in HTML) or the final file.
ssl
If set to true, then the SSL modules required to make an "https" connection will be added as
prerequisites.
See Also
Alien::Build::Plugin::Download::Negotiate, Alien::Build, alienfile, Alien::Build::MM, Alien
Synopsis
use alienfile;
share {
start_url 'http://ftp.gnu.org/gnu/make';
plugin 'Fetch::LWP';
};
Version
version 2.84
