Hallo
Hab ich alles schon gemacht, das merkwürdige ist das ein einziges testscript
immer Funktioniert und die anderen nie.
Dieses funktioniert:
Filename: test2.pl
#!c:/perl/bin/perl.exe
# ^^^ this must be the first line of the script! ^^^
# start code
use strict;
use CGI;
my $q = new CGI;
# print header and start the markup output
print $q->header( "text/html" ),$q->start_html( "hello from perl cgi!" );
print $q->h2("hello dave...");
print $q->end_html;
# end code
Und das funktioniert z.B. nicht:
Filename:test3.pl
#!c:/Perl/bin/perl.exe
##
## printenv -- demo CGI program which just prints its environment
##
print "Content-type: text/plain; charset=iso-8859-1\n\n";
foreach $var (sort(keys(%ENV))) {
$val = $ENV{$var};
$val =~ s|\n|\\n|g;
$val =~ s|"|\\"|g;
print "${var}=\"${val}\"\n";
}
MfG Thomas Drebert
> -----Ursprüngliche Nachricht-----
> Von: [email protected]
> Gesendet: 10.07.06 05:27:38
> An: <[email protected]>
> Betreff: RE: Perlscripte wollen immer gespeichert werden.
> Bitte arbeite einfach die vier Anweisungen der Doku zu ActivePerl unter
> dem Abschnitt "How do I configure Apache 2.0.x to support ActivePerl?" ab
> (siehe
> http://aspn.activestate.com/ASPN/docs/ActivePerl/5.8/faq/Windows/ActivePerl-
> Winfaq6.html#configure_Apache20x)
______________________________________________________________________________
Mit WEB.DE iNews werden Sie über die Ergebnisse der wichtigsten WM-Begegnungen
per SMS informiert: http://freemail.web.de/features/inews.htm/?mc=021202
--------------------------------------------------------------------------
Apache HTTP Server Mailing List "users-de"
unsubscribe-Anfragen an [EMAIL PROTECTED]
sonstige Anfragen an [EMAIL PROTECTED]
--------------------------------------------------------------------------