rbaecker@www-devel-rbaecker ~ $ cd community/ rbaecker@www-devel-rbaecker ~/community $ ll total 0 rbaecker@www-devel-rbaecker ~/community $ vi cgi.pl rbaecker@www-devel-rbaecker ~/community $ cat cgi.pl #!/usr/bin/perl use strict; use warnings; use CGI; open FILE, '>', 'test.out' or die $!; open HTMLFILE, '>', 'test2.out' or die $!; my %FORM = CGI::Vars(); my $allow_html = 0; if( $allow_html != 1 ){ for my $key ( keys %FORM ){ $FORM{$key} =~ s/<([^>]|\n)*>//g; } } while( my ($key,$value) = each %FORM ){ next if $key eq 'Submit'; print FILE $key, "=", $value,"\n"; print HTMLFILE "