Text::Template::Simple::IO - I/O methods
TODO
This document describes version 0.86 of Text::Template::Simple::IO released on 5 March 2012.
0.86
Text::Template::Simple::IO
5 March 2012
Constructor. Accepts an I/O layer name as the parameter.
Sets the I/O layer of the supplied filehandle if there is a layer and perl version is greater or equal to 5.8.
5.8
Returns the contents of the supplied file as a string.
TYPE can either be dir or file. Returns the corrected path if it is valid, undef otherwise.
TYPE
dir
file
undef
Test if THING is a directory.
THING
Test if THING is a file.
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.
include paths
Burak Gursoy <burak@cpan.org>.
Copyright 2004 - 2012 Burak Gursoy. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.3 or, at your option, any later version of Perl 5 you may have available.
To install Text::Template::Simple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Template::Simple
CPAN shell
perl -MCPAN -e shell install Text::Template::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.