Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    </body>
    </html>
    END_HTML
    
  2. or download this
    my @pairs = split /&/, $query_string;
    foreach my $p(@pairs) {
    ...
        my ($key, $val) = split /=/, $p, 2;
        $data{$key} = $val;
    }