Getopt...Options(3pm)
β¨ NAME β¨
Getopt::Complete::LazyOptions β it's an internal object that just... chills there as a placeholder for options nobody's processed yet π
Like, it's the "brb bestie, not ready yet" of option objects. It holds the spot. It does not commit. We respect it. π«Ά
πΈ VERSION πΈ
This doc is describing Getopt::Complete::LazyOptions 0.26 β that's the one, no cap. π
π¦ SYNOPSIS π¦
use Getopt::Complete (
"foo=n" => [11,22,33],
"bar=s" => "f",
">" => sub {
my $values = [];
# code to generate completions for this option here...
return $values;
}
);
okay so that ">" key with the coderef? That's your little custom completion machine β¨ β you get handed a coderef, you build up an array of $values, you return $values, and boom, completions for that option are generated. Iconic behavior honestly. π
π DESCRIPTION π
This class is used internally by Getopt::Complete::Options. π§
That's the whole vibe β it's a behind-the-scenes little helper, not something you're meant to be calling up on main. It's giving β¨background character who is secretly carrying the entire plotβ¨. If you're here reading this, you probably wandered into the internals, and honestly? Respect. π
This page comes to you courtesy of perl v5.36.0, dated 2022-10-13, and it lives under the Getopt...Options(3pm) banner. π Stay nosy, bestie, that's how you learn. π
π¦ where this page comes from
- ubuntu noble: libgetopt-complete-perl 0.26-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libgetopt-complete-perl 0.26-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libgetopt-complete-perl 0.26-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms