From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

Getopt::Kingpin::Type::String - command line option object

SYNOPSIS

my $kingpin = Getopt::Kingpin->new;
my $name = $kingpin->flag('name', 'set name')->string();
$kingpin->parse;
printf "name : %s\n", $name;

DESCRIPTION

Getopt::Kingpin::Type::String is the type definition for String within Getopt::Kingpin.

METHOD

set_value($value)

Set the value of $self->value.

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>