The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

SYNOPSIS

TODO

DESCRIPTION

TODO

METHODS

new IO_LAYER

Constructor. Accepts an I/O layer name as the parameter.

layer FH

Sets the I/O layer of the supplied filehandle if 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.

is_file THING

Test if THING is a file.

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.