here is the entire code. this procese an input for "operation". if it is run then it returns run. if it does not it returns not. no matter what i pass to it it returns run. i am new to perl and have no idea.<br><br><br>#!/perl/bin/<br># get form input, split each form field into @pairs array<br> read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});<br>@pairs = split(/&/, $buffer);<br># clean up each array element<br>foreach $pair (@pairs) {<br> ($name, $value) = split(/=/, $pair);<br> $value =~ tr/+/ /;<br> $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C",hex($1))/eg;<br> $value =~ s/\n/ /g; # replace newlines with spaces<br> $value =~ s/\r//g; # remove hard returns<br> $value =~ s/\cM//g; # delete ^M's<br> $FORM{$name} = $value;<br>}<br><br>if ($FORM{'operation'}=run){<br>print <<END;<br>Content-Type: text/html\n\n<br><html><br><center><h2>Results</h2></center><p><br>run<br></body><br></html><br>END<br>}<br>else{<br>print <<END;<br>Content-Type: text/html\n\n<br><html><br><center><h2>Results</h2></center><p><br>else<br></body><br></html><br>END<br>}