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

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