| 1 | package HTML::FormHandler::Field::File; | ||
| 2 | # ABSTRACT: simple file field; does no processing | ||
| 3 | 1 | $HTML::FormHandler::Field::File::VERSION = '0.410001'; | |
| 4 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | extends 'HTML::FormHandler::Field'; | |
| 6 | |||
| 7 | |||
| 8 | 1 | has '+widget' => ( default => 'Upload' ); | |
| 9 | 1 | has '+type_attr' => ( default => 'file' ); | |
| 10 | |||
| 11 | 1 | __PACKAGE__->meta->make_immutable; | |
| 12 | 1 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | 1 | 1; | |
| 14 | |||
| 15 | __END__ | ||
| 16 | |||
| 17 | =pod | ||
| 18 | |||
| 19 | =encoding UTF-8 | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | HTML::FormHandler::Field::File - simple file field; does no processing | ||
| 24 | |||
| 25 | =head1 VERSION | ||
| 26 | |||
| 27 | version 0.410001 | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | This field does nothing and is here mainly for testing purposes. If you use this | ||
| 32 | field you'll have to handle the actual uploaded file yourself. | ||
| 33 | |||
| 34 | See L<HTML::FormHandler::Field::Upload> | ||
| 35 | |||
| 36 | =head1 AUTHOR | ||
| 37 | |||
| 38 | FormHandler Contributors - see HTML::FormHandler | ||
| 39 | |||
| 40 | =head1 COPYRIGHT AND LICENSE | ||
| 41 | |||
| 42 | This software is copyright (c) 2017 by Gerda Shank. | ||
| 43 | |||
| 44 | This is free software; you can redistribute it and/or modify it under | ||
| 45 | the same terms as the Perl 5 programming language system itself. | ||
| 46 | |||
| 47 | =cut | ||