Burak Gürsoy > Text-Template-Simple-0.53 > Text::Template::Simple::IO

Download:
Text-Template-Simple-0.53.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.53   Source   Latest Release: Text-Template-Simple-0.81

NAME ^

Text::Template::Simple::IO - I/O methods

SYNOPSIS ^

TODO

DESCRIPTION ^

TODO

METHODS ^

new PARENT_OBJECT

Constructor. Accepts a Text::Template::Simple object as the parameter.

layer FH

Sets the I/O layer of the supplied filehandle is there is a layer and perl version is greater or equal to 5.8.

slurp FILE_PATH

Returns the contents of the supplied file as a string.

validate TYPE, PATH

TYPE can either be dir or file. Returns the corrected path if it is valid, undef otherwise.

AUTHOR ^

Burak Gürsoy, <burak@cpan.org>

COPYRIGHT ^

Copyright 2008 Burak Gürsoy. All rights reserved.

LICENSE ^

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.