Debian Codegraph @

lib/HTML/FormHandler/Field/File.pm

raw
1 package HTML::FormHandler::Field::File;
2 # ABSTRACT: simple file field; does no processing
3 $HTML::FormHandler::Field::File::VERSION = '0.410002';
4 use Moose;
5 extends 'HTML::FormHandler::Field';
6
7
8 has '+widget' => ( default => 'Upload' );
9 has '+type_attr' => ( default => 'file' );
10
11 __PACKAGE__->meta->make_immutable;
12 use namespace::autoclean;
13 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.410002
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