14 Dec 2018 16:07:11 UTC
- Distribution: HTML-FormFu
- Module version: 2.07
- Source (raw)
- Browse (raw)
- How to Contribute
- Repository (git clone)
- Issues (12)
- Testers (504 / 3 / 25)
- KwaliteeBus factor: 1
- 80.07% Coverage
- License: perl_5
- Perl: v5.10.0
- Activity24 month
- Download (334.11KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
- Reverse dependencies
- CPAN Testers List
- Dependency graph
HTML::FormFu::Deflator::PathClassFile - Deflator for Path::Class::File objects
$form->deflator( PathClassFile => 'file' ) ->relative( 'root' ); --- elements: - type: Text deflator: - type: PathClassFile relative: root
Deflator for Path::Class::File objects.
There are three types of deflation:
Set this to 1 to deflate to a relative path. Anything else than 1 specifies the directory to use as the base of relativity - otherwise the current working directory will be used.
Set this to 1 to deflate to an absolute path. Anything else than 1 specifies the directory to use as the base of relativity - otherwise the current working directory will be used.
Set this to 1 to get the name of the file without the directory portion.
As you cannot set values for a File element, this deflator will only work on regular form elements.
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
Carl Franks <firstname.lastname@example.org>
This software is copyright (c) 2018 by Carl Franks.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.