Help for this page

Select Code to Download


  1. or download this
    # Your code
    use CGI;
    ...
            $value =~ tr/+/ /;
            $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
    }
    
  2. or download this
    my $comments = $q->param('comments');
    
  3. or download this
    my %params = map { $_ => $q->param($_) } $q->param;
    
    # comments stored in $params{'comments'}