-
-
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 (273 / 0 / 0)
- 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::ExistingFileOrDir - command line option object
SYNOPSIS
use Getopt::Kingpin; my $kingpin = Getopt::Kingpin->new; my $lib_dir = $kingpin->flag('lib_dir', 'set lib_dir')->existing_file_or_dir(); $kingpin->parse; printf "lib_dir : %s\n", $lib_dir;
DESCRIPTION
Getopt::Kingpin::Type::ExistingFileOrDir is the type definition for ExistingFileOrDir within Getopt::Kingpin.
METHOD
set_value($value)
Set the value of $self->value. Converts strings to Path::Tiny objects and checks
exists
is true.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.