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

NAME

6       Text::Template::Simple::IO
7

VERSION

9       version 0.91
10

SYNOPSIS

12          TODO
13

DESCRIPTION

15          TODO
16

NAME

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

METHODS

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

AUTHOR

46       Burak Gursoy <burak@cpan.org>
47
49       This software is copyright (c) 2004 by Burak Gursoy.
50
51       This is free software; you can redistribute it and/or modify it under
52       the same terms as the Perl 5 programming language system itself.
53
54
55
56perl v5.32.0                      2020-07-28     Text::Template::Simple::IO(3)
Impressum