Why not adopt me?
NAME
Text::Template::Simple::IO - I/O methods
SYNOPSIS
TODO
DESCRIPTION
This document describes version 0.90 of Text::Template::Simple::IO released on 5 July 2016.
TODO
METHODS
new IO_LAYER
Constructor. Accepts an I/O layer name as the parameter.
layer FILE_HANDLE
Sets the I/O layer of the supplied file handle 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_dir THING
Test if THING is a directory.
is_file THING
Test if THING is a file.
file_exists THING
Test if THING is a file. This method also searches all the include paths and returns the full path to the file if it exists.
AUTHOR
Burak Gursoy <burak@cpan.org>.
COPYRIGHT
Copyright 2004 - 2016 Burak Gursoy. 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.24.0 or, at your option, any later version of Perl 5 you may have available.