TPU ChatChat on IRC
Internet Relay Chat?
Java Applet client
Who's on IRC?
Need help on Perl language
Posted by Perl [send private reply] at January 20, 2003, 10:03:26 AM hi all!...i need help on Perl...dun really understand how perl really works....can perl run with HTML and design a website out???
which consists of Perl Language and HTML codes
This website will serve as a middle tier between Servers and Users....
can anyone help me to make me more understand how the Perl works???
Is my topic breaking the rules??? forgive me if i really did...sorry
Posted by taubz [send private reply] at January 20, 2003, 11:22:12 AM Yes and no. Perl cannot be put inside .html files -- it won't do anything. For that, there is PHP, but that's an ugly way to program anything more than a few lines of code.
To use Perl, you put Perl code in a .cgi or .pl file on the server and access that file from your web browser. The server processes the file and returns to the web browser anything that the Perl code printed out.
For more info., you should google for a Perl tutorial.
Posted by mop [send private reply] at January 20, 2003, 01:11:59 PM Perl files you must execute in a cgi bin. Just write the program, place it in the cgi bin, and go to it's location.
PHP is a different language you can put into HTML files that is much more powerful and useful then perl for there types of applications (in my opinion at least). I recommend using PHP.
Posted by DragonWolf [send private reply] at January 21, 2003, 06:43:38 AM PHP is the way to go if you want to do server side processing on your HTML files.
IMHO, though it is messy mixing HTML and PHP together. Its neater than having lots of print / echo statements in a Perl/PHP file for each HTML statement.
I think JSPs/Java Servlets, and turning the HTML file into an Object is the neatest option, but not the easiest.
Register as a new user