Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Perl and Websites
Message
Information générale
Forum:
Perl
Catégorie:
Syntaxe & Programmation
Divers
Thread ID:
00403996
Message ID:
00404035
Vues:
39
>I just installed Redhat 6.2. I was wondering if perl is working and how do I setup a webpage using perl.

Are you running this on a desktop, since you're using Redhat? Perl needs to be installed, and I don't know whether it comes as part of Redhat Linux.

Regarding Web pages, you would need a local Web server running on your PC, including Perl, to generate pages. Whether you're doing this on a desktop, or on the Web, there is much to consider about generating Web pages. Are you referring to creating dynamic (on-the-fly) pages, instead of straight HTML?

Basic Web pages can be constructed with Perl like this:
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "<html><body>";
print "<H1>Hello World!</H1>";
print "</body></html>";
exit;
Could you more fully explain what you are attempting to do?

Michael Reynolds
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform