Perl - basic configuration

Aus HS Syswiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „For all Perl scripts is needed to specify Content-type, otherwise there is an Internal-Server Error. <syntaxhighlight lang="bash" style="font-size:9pt;"> #!/us…“)
 
 
(Eine dazwischenliegende Version von einem Benutzer wird nicht angezeigt)
Zeile 1: Zeile 1:
 +
[[Category:ServerAdmin]]
 +
{{note|ServerAdmin content. Please ignore and move.|error}}
 +
 
For all Perl scripts is needed to specify Content-type, otherwise there is an Internal-Server Error.
 
For all Perl scripts is needed to specify Content-type, otherwise there is an Internal-Server Error.
 
<syntaxhighlight lang="bash" style="font-size:9pt;">
 
<syntaxhighlight lang="bash" style="font-size:9pt;">
Zeile 5: Zeile 8:
 
print "Hello World!\n";
 
print "Hello World!\n";
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
[[Category:Server]]

Aktuelle Version vom 25. Juni 2014, 17:21 Uhr

ServerAdmin content. Please ignore and move.

For all Perl scripts is needed to specify Content-type, otherwise there is an Internal-Server Error.

#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Hello World!\n";
Meine Werkzeuge
Namensräume

Varianten
Aktionen
Navigation
Werkzeuge