#!/usr/bin/perl -w
use strict;
use CGI qw(:standard escapeHTML);
use CGI::Carp qw(fatalsToBrowser);
my $ausgabe = "";
my $downloadaufruf = "";
my $wert = param('wert') || "";
my $button = param('action') || "";
if ($button eq "Senden") {
$ausgabe .= "...senden gedrückt...
";
$ausgabe .= "Wert = $wert
";
download("test.txt");
$downloadaufruf = "alert('aha');";
}
my $html = <<"(END OUT HTML)";