-
-
06 Nov 2020 13:09:15 UTC
- Distribution: Getopt-Kingpin
- Module version: 0.10
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (5)
- Testers (71 / 0 / 2)
- Kwalitee
Bus factor: 1- 99.92% Coverage
- License: perl_5
- Perl: v5.10.1
- Activity
24 month- Tools
- Download (26.01KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 4 contributors-
sago35
-
Pavel Goran
-
Syohei YOSHIDA
-
Toby Inkster
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>
Module Install Instructions
To install Getopt::Kingpin, copy and paste the appropriate command in to your terminal.
cpanm Getopt::Kingpin
perl -MCPAN -e shell install Getopt::Kingpin
For more information on module installation, please visit the detailed CPAN module installation guide.