The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

SYNOPSIS

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

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

DESCRIPTION

Getopt::Kingpin::Type::ExistingFile は、Getopt::Kingpin内で使用する型定義です。

METHOD

set_value($value)

$self->valueに値を設定します。 値は、Path::Tinyによって処理されます。 必ず存在するfileである必要があります。

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>