HTML::FormHandlerX::Field::URI::HTTP - an HTTP URI field
0.1
This field inherits from a Text field and is used to validate HTTP(S) URIs. Validate values are inflated into an URI object.
Only one extra method is supported:
This method is used to set the type of regex used for validating the URI. By default both HTTP and HTTPS URIs are marked as valid. You can set this to only validate HTTP or HTTPS if you wish:
scheme => qr/http/i, # only validate HTTP URIs scheme => qr/https/i, # only validate HTTPS URIs scheme => qr/https?/i, # validate both HTTP and HTTPS (default behaviour)
Roman F. romanf@cpan.org
Copyright (c) 2011 Roman F.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
To install HTML::FormHandlerX::Field::URI::HTTP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::FormHandlerX::Field::URI::HTTP
CPAN shell
perl -MCPAN -e shell install HTML::FormHandlerX::Field::URI::HTTP
For more information on module installation, please visit the detailed CPAN module installation guide.