Shlomi Fish > Template-Preprocessor-TTML > Template::Preprocessor::TTML::CmdLineProc

Download:
Template-Preprocessor-TTML-0.0101.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Template::Preprocessor::TTML::CmdLineProc - Process command line arguments

SYNOPSIS ^

    my $obj = 
        Template::Preprocessor::TTML::CmdLineProc->new(
            argv => [@ARGV],
        );
    my $result = $obj->get_result();

DESCRIPTION ^

The constructor accepts argv as argument, and is destructible to it. It returns a results object.

FUNCTIONS ^

$cmd_line->initialize(@_)

This is an internal function that initializes the arguments of the object.

$cmd_line->get_result()

This function calculates the results from the arguments. If something wrong it will throw an exception. It should be called only once.

syntax highlighting: