יובל קוג'מן (Yuval Kogman) > Verby > Verby::Config::Source::ARGV

Download:
Verby-0.05.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.05   Source  

NAME ^

Verby::Config::Source::ARGV - Verby::Config::Data fields from the command line

SYNOPSIS ^

        use Verby::Config::Source::ARGV;

        my $argv = Verby::Config::Source::ARGV->new
        my $config_hub = Verby::Config::Data->new($argv, $other_source);

Use a field

        sub do {
                my ($self, $c) = @_;
                print $c->handbag;
        }

And then on the command line, set it:

        my_app.pl --handbag=gucci

DESCRIPTION ^

This module is useful for getting some global keys set or perhaps overridden on the command line.

METHODS ^

new

BUGS ^

None that we are aware of. Of course, if you find a bug, let us know, and we will be sure to fix it.

CODE COVERAGE ^

We use Devel::Cover to test the code coverage of the tests, please refer to COVERAGE section of the Verby module for more information.

SEE ALSO ^

AUTHOR ^

Yuval Kogman, <nothingmuch@woobling.org>

COPYRIGHT AND LICENSE ^

Copyright 2005-2008 by Infinity Interactive, Inc.

http://www.iinteractive.com

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: