Catalyst::Plugin::CGI::Untaint man page on Pidora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Pidora logo
[printable version]

Catalyst::Plugin::CGI:UseraContributed Perl DCatalyst::Plugin::CGI::Untaint(3)

NAME
       Catalyst::Plugin::CGI::Untaint - Plugin for Catalyst

SYNOPSIS
	 # In your MainApp.pm:
	 use Catalyst qw/CGI::Untaint/;

	 # Put into your form handler:
	 my $email = $c->untaint(-as_email => 'email');
	 # Will extract only a valid email address from $c->req->params->{email}

	 # Use -last_error to get the rejection reason:
	 if (not $email) {
	     $error = $c->untaint(-last_error => 'email');
	 }

	 # (note, you will need to have CGI::Untaint and CGI::Untaint::email installed
	 # in order for the above example to work)

DESCRIPTION
       This module wraps CGI::Untaint up into a Catalyst plugin.

       For info on using CGI::Untaint, see its own documentation.

SEE ALSO
       Catalyst

       CGI::Untaint

AUTHOR
       Toby Corkindale, <cpan@corkindale.net>

COPYRIGHT AND LICENSE
       Copyright (C) 2006 by Toby Corkindale

       This library is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself, either Perl version 5.8.7 or, at
       your option, any later version of Perl 5 you may have available.

perl v5.14.1			  2006-12-04 Catalyst::Plugin::CGI::Untaint(3)
[top]

List of man pages available for Pidora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net