HTML::FormFu::Deflator::PathClassFile(3pm)

HTML::FormFu::Deflator::PathClassFile3pm

Deflator for path::class::file objects

Usage

    $form->deflator( PathClassFile => 'file' )
        ->relative( 'root' );
    ---
    elements:
        - type: Text
          deflator:
              - type: PathClassFile
                relative: root

Version

version 2.07

Overview

Deflator for Path::Class::File objects.

There are three types of deflation:

relative

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.

absolute

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.

basename

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.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 5 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10–12
  6. 13

Author

Moritz Onken, "[email protected]"

License

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

Author

Carl Franks <[email protected]>

From libhtml-formfu-perl 2.07000-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.