NamePros.Com (http://www.namepros.com/)
-   CODE (http://www.namepros.com/code/)
-   -   Hello world example in Perl (http://www.namepros.com/code/14366-hello-world-example-in-perl.html)

deadserious 11-24-2002 06:55 PM

Hello world example in Perl
 
Code:
#!/usr/bin/perl print "Content-type: text/htmlnn"; print "Hello Worldn"; exit;



:D

DarkDevil 11-24-2002 07:44 PM

haha

PHP Code:
<?php

echo "hello world!"

?>


i love how much less text it takes =)

deadserious 11-24-2002 08:36 PM

Quote:
Originally posted by DarkDevil
haha

PHP Code:
<?php

echo "hello world!"

?>


i love how much less text it takes =)



yepp, but this is the Perl code snippets forum..... :)

And yea no reason to use php or perl to print hello world, except for maybe an example or something.

by the way don't forget about the little ;

The correct way in php woule be more like:

http://www.webdesigntalk.net/showth...s=&threadid=162

:beer:


All times are GMT -7. The time now is 02:43 PM.
Site Sponsors
Advertise your business at NamePros

Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0