Stefan Hornburg (Racke) > Template-Flute-0.0066 > Template::Flute::Specification::Scoped

Download:
Template-Flute-0.0066.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: Template-Flute-0.0140

NAME ^

Template::Flute::Specification::Scoped - Config::Scoped Specification Parser

SYNOPSIS ^

    $scoped = new Template::Flute::Specification::Scoped;

    $spec = $scoped->parse_file($specification_file);
    $spec = $scoped->parse($specification_text);

CONSTRUCTOR ^

new

Create a Template::Flute::Specification::Scoped object.

METHODS ^

parse [ STRING | SCALARREF ]

Parses text from STRING or SCALARREF and returns Template::Flute::Specification object in case of success.

parse_file FILENAME

Parses text from file FILENAME and returns Template::Flute::Specification object in case of success.

create_specification [ HASHREF ]

Takes a Config::Scoped hash reference and returns a Template::Flute::Specification object. Mostly used for parse and parse_file methods.

error

Returns last error.

AUTHOR ^

Stefan Hornburg (Racke), <racke@linuxia.de>

LICENSE AND COPYRIGHT ^

Copyright 2010-2013 Stefan Hornburg (Racke) <racke@linuxia.de>.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

syntax highlighting: