DOKK / manpages / debian 12 / libgetopt-complete-perl / Getopt::Complete::LazyOptions.3pm.en
Getopt::Complete::LazyOptions(3pm) User Contributed Perl Documentation Getopt::Complete::LazyOptions(3pm)

Getopt::Complete::LazyOptions - internal object used as a placeholder for unprocessed options

This document describes Getopt::Complete::LazyOptions 0.26.

    use Getopt::Complete (
        "foo=n" => [11,22,33],
        "bar=s" => "f",
        ">"     =>  sub {
                        my $values = [];
                        # code to generate completions for this option here...
                        return $values;
                    }
    );

This class is used internally by Getopt::Complete::Options.

2022-10-13 perl v5.34.0