Help for this page

Select Code to Download


  1. or download this
    read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
    @pairs = split(/&/, $buffer);
    foreach $pair (@pairs) {
    ...
        if ($INPUT{$name}) { $INPUT{$name} = $INPUT{$name}.",".$value; }
        else { $INPUT{$name} = $value; }
    }
    
  2. or download this
    if ($INPUT{'onething'} eq "onething") { &onething; }
    elsif ($INPUT{'onething'} eq "twothing")  {&twothing; }
    elsif ($INPUT{'threething'}) {threething; }
    else {&formula; }
    exit;
    
  3. or download this
    if ($INPUT{'fourthing'} eq "four") {
    $address = "four.txt";
    ...
    }    elsif ($INPUT{'fourthing'} eq "six") {
    $address = "six.txt";
    }    else  {&formula; }