Youri-Config

 view release on metacpan or  search on metacpan

lib/Youri/Config.pm  view on Meta::CPAN

    push(@args,
        'config=s'   => \$args->{config},
        'h|help'     => \$args->{help},
        'v|verbose+' => \$args->{verbose}
    );
    GetOptions(@args);

    if ($args->{help}) {
        if (!@ARGV) {
            # standard help, available immediatly
            my $filename = (caller)[1];
            pod2usage(
                -input   => $filename,
                -verbose => 0
            );
        }
    }

    # config files parameters
    
    # find configuration file to use



( run in 0.946 second using v1.01-cache-2.11-cpan-a3c8064c92c )