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-2016 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.