The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Getopt::Kingpin::Flag - command line option object

SYNOPSIS

use Getopt::Kingpin;
my $kingpin = Getopt::Kingpin->new;
my $name = $kingpin->flag('name', 'set name')->string();
$kingpin->parse;

printf "name : %s\n", $name;

DESCRIPTION

Getopt::Kingpin::Arg is used from Getopt::Kingpin.

METHOD

new()

Create Getopt::Kingpin::Arg object.

help_name()

Return name for help.

LICENSE

Copyright (C) sago35.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

sago35 <sago35@gmail.com>