Alien::...Command(3)

πŸ’– Alien::...Command(3) πŸ’–

okay bestie, so the manual name is Alien::...Command(3) and it lives in the User Contributed Perl Documentation section, and honestly? it's giving build-system realness. buckle up πŸŽ€


✨ NAME ✨

Alien::Build::Plugin::Fetch::CurlCommand β€” a plugin for fetching files using curl. no cap, that's literally the whole job πŸ’…


🌸 VERSION 🌸

version 2.88 β€” yeah she's got a version number, she's established, she's iconic πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

okay so here's how you actually use her:

use alienfile;

share {
  start_url 'https://www.openssl.org/source/';
  plugin 'Fetch::CurlCommand';
};

that's it. that's the vibe. 🫢


πŸ’œ DESCRIPTION πŸ’œ

so this plugin gives you a fetch that's powered by the curl command. the way that works is: it plays nice with the other fetch plugins β€” meaning the first one that succeeds is the one that gets used, like a little relay race but make it download πŸ”₯

most of the time? the best plugin to reach for is Alien::Build::Plugin::Download::Negotiate. that's the main character. but β€” and this is the important part, bestie β€” for some SSL bootstrapping situations, it may be desirable to try curl first. so you keep her in your back pocket for exactly those moments. iykyk πŸ’…

protocols supported: http, https 🌈

⚠️ real talk: https support requires that curl was built with SSL support. no SSL in your curl, no https for you. that's just how it is πŸ’€

✨ PROPERTIES ✨

πŸŽ€ curl_command

the full path to the curl command. the default is usually correct β€” like, don't overthink it, she knows where she lives 🏠✨

πŸŽ€ ssl

ignored by this plugin. it's just here for compatibility with some other fetch plugins, so she shows up to the party but doesn't actually do anything. we love a supportive friend πŸ’–


🌟 METHODS 🌟

πŸ’« protocol_ok

my $bool = $plugin->protocol_ok($protocol);
my $bool = Alien::Build::Plugin::Fetch::CurlCommand->protocol_ok($protocol);

both call styles are valid, pick your fave, they're both slaying πŸ’…


🌈 SEE ALSO 🌈

  • alienfile
  • Alien::Build

go read those too, bestie, they're the extended universe πŸ“š


πŸ‘‘ AUTHOR πŸ‘‘

Author: Graham Ollis <plicease@cpan.org>

Contributors β€” okay this list is LONG and honestly every single one of them ate:

  • Diab Jerius (DJERIUS)
  • Roy Storey (KIWIROY)
  • Ilya Pavlov
  • David Mertens (run4flat)
  • Mark Nunberg (mordy, mnunberg)
  • Christian Walde (Mithaldu)
  • Brian Wightman (MidLifeXis)
  • Zaki Mughal (zmughal)
  • mohawk (mohawk2, ETJ)
  • Vikas N Kumar (vikasnkumar)
  • Flavio Poletti (polettix)
  • Salvador FandiΓ±o (salva)
  • Gianni Ceccarelli (dakkar)
  • Pavel Shaydo (zwon, trinitum)
  • Kang-min Liu (εŠ‰εΊ·ζ°‘, gugod)
  • Nicholas Shipp (nshp)
  • Juan JuliΓ‘n Merelo GuervΓ³s (JJ)
  • Joel Berger (JBERGER)
  • Petr PΓ­saΕ™ (ppisar)
  • Lance Wicks (LANCEW)
  • Ahmad Fatoum (a3f, ATHREEF)
  • JosΓ© JoaquΓ­n Atria (JJATRIA)
  • Duke Leto (LETO)
  • Shoichi Kaji (SKAJI)
  • Shawn Laffan (SLAFFAN)
  • Paul Evans (leonerd, PEVANS)
  • HΓ₯kon HΓ¦gland (hakonhagland, HAKONH)
  • nick nauwelaerts (INPHOBIA)
  • Florian Weimer
  • Marcel Telka (mtelka)

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. so yes, it's free, go wild, but respectfully 🫢


and that's the whole page, bestie!! πŸ’…βœ¨

cute little sign-off for you: this was documented under perl v5.42.3 and dated 2026-09-21 β€” so go forth, fetch things, and remember: curl first when SSL bootstrapping demands it. periodt. πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from