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::Type::Bool - command line option object

SYNOPSIS

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

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

DESCRIPTION

Getopt::Kingpin::Type::Bool is the type definition for Bool 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>