Why not adopt me?
NAME
Class::DBI::Plugin::AutoUntaint - untaint columns automatically
SYNOPSIS
package Film;
use Class::DBI::FromCGI;
use Class::DBI::Plugin::AutoUntaint;
use base 'Class::DBI';
# set up as any other Class::DBI class.
# instead of this:
#__PACKAGE__->untaint_columns(
# printable => [qw/Title Director/],
# integer => [qw/DomesticGross NumExplodingSheep],
# date => [qw/OpeningDate/],
# );
# say this:
__PACKAGE__->auto_untaint;
DESCRIPTION
Automatically detects suitable default untaint methods for most column types. Calls die
with an informative message for any columns it can't figure out. Accepts arguments for overriding the default untaint type.
METHODS
- auto_untaint( [ %args ] )
-
untaint_columns skip_columns match_columns untaint_types match_types debug set to 1 for brief info, 2 for a list of each column's untaint type maypole set to 1 if this is a Maypole app (used by Maypole::Plugin::AutoUntaint)
AUTHOR
David Baird, <cpan@riverside-cms.co.uk>
BUGS
Please report any bugs or feature requests to bug-class-dbi-plugin-autountaint@rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Class-DBI-Plugin-AutoUntaint. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2005 David Baird, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.