Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

advent (4699)

  (email not shown publicly)

Journal of advent (4699)

Sunday November 30, 2003
09:15 PM

1st Dec 2003

[ #16089 ]
Comments for Perl Advent Calendar Entry 1st Dec 2003. Comments posted below may be displayed on
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Maybe i'm missing it, but they don't seem to be handled at all (which is a shortcoming)

    E:\>perl - 1=a 1=b 1=c 1=d
    use CGI qw[ param Vars ];
    use CGI::Untaint;
    my $u = CGI::Untaint->new( Vars() );
    print "$_\n" for $u->extract(-as_printable => 1);
    warn 1;
    print "$_\n" for param(1);
    1 at - line 5.
  • I think Data::FormValidator is also a very strong contender in this problem space. It handles multiple values, something podmaster brought up in another post. It also integrates with, Regexp::Common and is generally very powerful and flexible.

    The current version includes a nice file upload validator as well. fv/

    disclaimer: I maintain Data::FormValidator