Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Perl and Websites
Message
General information
Forum:
Perl
Category:
Syntax & Programming
Miscellaneous
Thread ID:
00403996
Message ID:
00404035
Views:
38
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform