1HTML::FormFu::Deflator:U:sPearthCColnatsrsiFbiultee(d3H)PTeMrLl::DFoocrummFeun:t:aDteifolnator::PathClassFile(3)
2
3
4
6 HTML::FormFu::Deflator::PathClassFile - Deflator for Path::Class::File
7 objects
8
10 version 2.07
11
13 $form->deflator( PathClassFile => 'file' )
14 ->relative( 'root' );
15
16 ---
17 elements:
18 - type: Text
19 deflator:
20 - type: PathClassFile
21 relative: root
22
24 Deflator for Path::Class::File objects.
25
26 There are three types of deflation:
27
28 relative
29 Set this to 1 to deflate to a relative path. Anything else than 1
30 specifies the directory to use as the base of relativity -
31 otherwise the current working directory will be used.
32
33 absolute
34 Set this to 1 to deflate to an absolute path. Anything else than 1
35 specifies the directory to use as the base of relativity -
36 otherwise the current working directory will be used.
37
38 basename
39 Set this to 1 to get the name of the file without the directory
40 portion.
41
42 As you cannot set values for a File element, this deflator will only
43 work on regular form elements.
44
46 Moritz Onken, "onken@houseofdesign.de"
47
49 This library is free software, you can redistribute it and/or modify it
50 under the same terms as Perl itself.
51
53 Carl Franks <cpan@fireartist.com>
54
56 This software is copyright (c) 2018 by Carl Franks.
57
58 This is free software; you can redistribute it and/or modify it under
59 the same terms as the Perl 5 programming language system itself.
60
61
62
63perl v5.32.0 2020-H0T7M-L2:8:FormFu::Deflator::PathClassFile(3)