Alien::Build::Plugin::Fetch::CurlCommand - Plugin for fetching files using curl
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::P...ch::CurlCommand(3pm)
Description
This plugin provides a fetch based on the "curl" command. It works with other fetch plugins (that is,
the first one which succeeds will be used). Most of the time the best plugin to use will be
Alien::Build::Plugin::Download::Negotiate, but for some SSL bootstrapping it may be desirable to try
"curl" first.
Protocols supported: "http", "https"
"https" support requires that curl was built with SSL support.
Methods
protocol_ok
my $bool = $plugin->protocol_ok($protocol);
my $bool = Alien::Build::Plugin::Fetch::CurlCommand->protocol_ok($protocol);
Name
Alien::Build::Plugin::Fetch::CurlCommand - Plugin for fetching files using curl
Properties
curl_command
The full path to the "curl" command. The default is usually correct.
ssl
Ignored by this plugin. Provided for compatibility with some other fetch plugins.
See Also
alienfile
Alien::Build
Synopsis
use alienfile;
share {
start_url 'https://www.openssl.org/source/';
plugin 'Fetch::CurlCommand';
};
Version
version 2.84
