1Text::Template::Simple:U:sIeOr(3C)ontributed Perl DocumeTnetxatt:i:oTnemplate::Simple::IO(3)
2
3
4

NAME

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

SYNOPSIS

9          TODO
10

DESCRIPTION

12       This document describes version 0.90 of "Text::Template::Simple::IO"
13       released on "5 July 2016".
14
15          TODO
16

METHODS

18   new IO_LAYER
19       Constructor. Accepts an I/O layer name as the parameter.
20
21   layer FILE_HANDLE
22       Sets the I/O layer of the supplied file handle if there is a layer and
23       "perl" version is greater or equal to 5.8.
24
25   slurp FILE_PATH
26       Returns the contents of the supplied file as a string.
27
28   validate TYPE, PATH
29       "TYPE" can either be "dir" or "file". Returns the corrected path if it
30       is valid, "undef" otherwise.
31
32   is_dir THING
33       Test if "THING" is a directory.
34
35   is_file THING
36       Test if "THING" is a file.
37
38   file_exists THING
39       Test if "THING" is a file. This method also searches all the "include
40       paths" and returns the full path to the file if it exists.
41

AUTHOR

43       Burak Gursoy <burak@cpan.org>.
44
46       Copyright 2004 - 2016 Burak Gursoy. All rights reserved.
47

LICENSE

49       This library is free software; you can redistribute it and/or modify it
50       under the same terms as Perl itself, either Perl version 5.24.0 or, at
51       your option, any later version of Perl 5 you may have available.
52
53
54
55perl v5.28.0                      2018-07-15     Text::Template::Simple::IO(3)
Impressum