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 $form->deflator( PathClassFile => 'file' )
11 ->relative( 'root' );
12
13 ---
14 elements:
15 - type: Text
16 deflator:
17 - type: PathClassFile
18 relative: root
19
21 Deflator for Path::Class::File objects.
22
23 There are three types of deflation:
24
25 relative
26 Set this to 1 to deflate to a relative path. Anything else than 1
27 specifies the directory to use as the base of relativity -
28 otherwise the current working directory will be used.
29
30 absolute
31 Set this to 1 to deflate to an absolute path. Anything else than 1
32 specifies the directory to use as the base of relativity -
33 otherwise the current working directory will be used.
34
35 basename
36 Set this to 1 to get the name of the file without the directory
37 portion.
38
39 As you cannot set values for a File element, this deflator will only
40 work on regular form elements.
41
43 Moritz Onken, "onken@houseofdesign.de"
44
46 This library is free software, you can redistribute it and/or modify it
47 under the same terms as Perl itself.
48
49
50
51perl v5.12.1 2010-H0T5M-L1:6:FormFu::Deflator::PathClassFile(3)