Jul 27, 2008

Perl V.s. Php - PHP vs PERL : Comparision of PHP & PERL

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > Perl Programming

free web hosting

Perl V.s. Php - PHP vs PERL : Comparision of PHP & PERL

pikaz
Now I've always wanted to make a web game. Now I have time. I keep getting suggested both php and perl. I know alot about php and stuff. but I hardly know anything about perl .So what would (if anything) make perl better than php when programming a web game?

Reply

tihu
Either perl or php is good enough for a web game.

Whichever language you're most comfortable with is the best language to use.

Good luck.

Reply

vizskywalker
Another deciding factor is how your webhost handles each. The one I currently use, Tripod, only allows CGI. I wouldn't use it to make a game, however, because they will only run a script for a couple seconds. Hunt around for games made in both to base your decision off of. To see what CGI is capacble of, check out Lunatix Online: http://www.lunatix-online.com/ .

Reply

cjm1504
well Perl is a glue language so why dont you use both????

Reply

4dsystems
PHP is mostly supported by webhosts so I would suggest php in place of perl but then if you get a host that supports perl then its cool too. wink.gif

Reply

anubi7
Mainly there's no difference between Perl and PHP, due to the fact that both are server-side scripting languages. The main feature of PHP is his high portability, this means that PHP could be used for a lot of things (eg. SQL); Perl is mainly used FSO (For Scripting Only) wink.gif.
Anyway, I had lot of fun programming in Perl and I really love it as a scripting language. So, my final suggestion is: Perl for life smile.gif
If you need help, feel free to contact me at:
gengarel <at> cs.unibo.it

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : perl, v, s, php, php, perl, comparision, php, and, perl

  1. Perl Regular Expresions Regex
    Learn how to use regular expressions (2)
  2. Perl Interactive Mode
    (2)
    I am kind of wondering why for some reason, Perl does not have an interactive mode in its parser
    like Pythong does in its. Also, Python comes pre-packaged with a GUI like parser and it is written
    in Python\Tk (I think that's what its called). I know that Perl has Perl\Tk, and I
    know it has an eval function. Why is there no interactive parser like that. I think I could come up
    with one. Anybody, wanna see if we can build a interactive module like the Python one?....
  3. Perl As A Way To Program Desktop Applications
    (8)
    I know that Perl is very common for CGI scripts and is used in many web applications. I also know
    that Perl can be run from the command-line for basic applications. Anybody ever make desktop
    applications in Perl or do most people strictly use Perl for CGI and use C(++) or Visual Basic for
    desktop applications. I am curious because I would like to attempt to create a game in Perl and
    distribute it. Of course it could only work for people who have Perl installed. Just wondering.....
  4. Where Do I Install Perl Scripts?
    Help, i need somebody help... :P (6)
    Where do i install perl scripts? I couldn't find the path (usr/bin/perl/) and i tried to put one
    script on /home/ /public_html and execute it from a php script, but, nothing happened, the script
    was not working, and yes, the script works properly. The reason for not working is the wrong path i
    suppose.....
  5. What Is Perl ? For A Layman Like Me !
    (7)
    hi, i was wondering what perl was i downloaded Activeperl thinking it is some thing like a CMS lol
    but.... well u know what is it what can you do with it, i really want to know why it is soo famous ?
    hehe thx Scan....
  6. So...what's The Perl Deal?
    Where do I learn it, how can I use it on my hosting account? (0)
    I've been reading about PERL on some HTML teaching website, which also teached some stuff with
    PERL, unfortunately, I don't get how to use it. So, what I want to know/just want: A simple
    guide to PERL How can I use it on my acc. Uh, that's all, thank for all by now.....
  7. Few Perl Snippets For Misc Things
    (2)
    Convert any number of seconds to days,hours,minutes and seconds. Useful for converting unix time
    differences into days,hours,minutes and seconds. Inputs: ConvertSeconds(no. of seconds) Returns:
    $days,$hours,$minutes,$seconds Assumes: 100% Accurate CODE     
        sub ConvertSeconds {    my $secs=shift;     if($secs<(60*60*24)){
        $days=0;     }     else{     $days=int($secs/(60*60*24));     }
        if((int($secs%60*60*24))<60*60){     $hours....
  8. Good Php, Mysql, Perl, Postgresql, Html, Css Etc For Linux?
    Going to the good side, but dont really feel like emulating ZDE... (2)
    Im going over to the good side, (getting Ubuntu next Monday), and need a good PHP++ editor for
    Linux. There are just so frikken many out there that it is scary. Prefferable with minimal HTML
    WYSIWYG editor, and parsing preview (similar to what ZDE has, maybe?) Anyone got any Ideas to share
    with a n00b? I feel very small at the moment /sad.gif" style="vertical-align:middle" emoid=":("
    border="0" alt="sad.gif" /> And no, it will be running most of the day, so dont say to emulate
    some window thing... /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" a....
  9. Is Perl Better Than Php ?
    (9)
    Though i have looked into few articles , on PERL vs PHP , iam confused , ... I want to know , if
    PERL or PHP is better ? THough they may perform well in their certain areas , they do at last have
    to compete directly ... So finally , is PHP better than PERL , or is it the other way around ???....
  10. Problem Running Perl Scripts
    (8)
    Hi, I'm having problems running my perl scripts. My website returns a page that says Internal
    Server Error and in the error log it gives me: error: file has no execute permission: but I
    already set my perl scripts to all have permission 755. What else could it be? The scripts run fine
    when I host them on my own computer using IIS. Any suggestions? Thanks, Ed. ....
  11. Xampp
    A fast installation for php, mysql, perl (1)
    Hi all! so what is xampp, well it is an insallation that contains php, mysql, filezila, mercury
    mail, phpmyadmin, perl and the common products a developer could need. What i like the most about
    xampp is the easiest way you can install it, also you can switch from php4 to php5 with an useful
    switcher contained in the installation folders, i never had the chance to have php5 up and running
    and nor mysql4.x so if you were like me with lots of problems in the php or mysql installation
    definately this product is for you. But what about the ftp folders? good question, i ha....
  12. Perl Question.
    Need hELp PLZ (2)
    First of all, thank you for the free web hosting @ Trap17.net. I am new to cgi scripting and lucky
    2 find ur site for practicing and developing some new script also intend to have my first personal
    cgi website, when I wanted to install a cgi script I was requested the following information: Ask
    your provider for the path to perl, is it: #!/usr/bin/perl #!/usr/local/bin/perl
    #!/bin/perl Please help. Thanx. ....
  13. Call C Code From Perl
    (1)
    I want to call a C routine from Perl program. For this I understand that, I should use XS interface
    language & write some layer between Perl and C. Can anyone tell me the following: 1. What are
    development tools & settings I need to have for this development? 2. What are the steps to carryout
    for developing the interface and connect to Perl? Please note that, I am new to this kind of work.
    However, I have experience on C & to some extent Perl. I am in hurry..please help me. Thanks in
    advance, kvarnerexpress....
  14. Forza Motor Sport Vs. Grand Turismo 4
    Graphics Comparision (1)
    Here, I'll compare graphics between Forza and GT 4 and select a winner. As it seems, GT 4 has
    much better textures and higher resolutions than Forza. Still Forza graphics are still among
    Xbox's best which means GT 4 must be a revolutionary thing to PS2 owners... /unsure.gif'
    border='0' style='vertical-align:middle' alt='unsure.gif' /> LOL ....
  15. The Uniform Server
    php, perl, apache, and mySQL for Win32 (5)
    Hi folks, nice place you've got here. I hope to stick around for a while. Hopefully this topic
    is new. I checked the archives and didn't see a match. I ran across a bundle of php, perl,
    apache, mySQL, and phpMyAdmin, and I must say that it rocks. Once this baby is installed you are
    four mouse clicks away from a gui to a live mySQL database. Okay, so you have to count a
    double-click as a single click, and I'm not including opening the folder, but that's still
    not too bad. It easily fits on even the smallest of USB drives, and executes without fanf....
  16. Matching Accents In Perl Regular Expresions
    matching accents in perl regular expresi (1)
    Does anyone knows how can i match accents in perl regular expresions. I do not manage to match not
    english characaters such as á, é or ñ. I hope there is someone taht knows the answer because i have
    been searching in google a long time without success. Thanks in advanced....
  17. Google Adsense Revenue Comparision.
    Google AdSense Tips and Tricks. (12)
    On http://www.admoolah.com/ webmasters can share and compare Google AdSense income. This way the
    Power of Google Adsense can be reviled. They also have some topics on increasing the Adsense
    revenue. Here I found out that Google pays higher amount for certain Keywords then others. ....
  18. Xmlhttprequest And Perl
    (2)
    Hi all I've been using XMLHttpRequest with PHP but the time has come where i need the features
    of perl! But i've fallen at the first hurdle.... when using XMLHttpRequest with php you can
    send a response back by using "echo" I cant seem to find a way of sending a response back in perl,
    anyone know of something similar to echo? I've looked through LWP but couldnt find anything
    suitable?? thanks kvarnerexpress....
  19. Compiling Perl / Python?
    is there a way to compile perl/python? (3)
    so im pretty new to programming in general, but these two languages i am even newer to. I'm
    trying to find out if there is a way to compile a perl/python program so that it is encrypted, and
    the source could not be read. or are these languages just scripts? Thanks.....
  20. Perl Interview Questions
    (1)
    Hi, I have to interview a job candidate for a position at my company. I have been put in charge of
    the perl questions. While I know a pretty good amount of perl, I was wondering if any of you could
    provide some good questions (w/ the answers please) that I might be able to ask. Thanks!....
  21. Perl Code Obfuscator V1.0
    Check out this usefull tool for perl dev (0)
    Here the author's description: Perl Code Obfuscator v1.0 QUOTE PCO is a GUI based
    freeware program for obfuscating and encrypting perl scripts. Removes comments, blank lines,
    replaces variable, array, hash, and sub names, and handles string and numerical values. Generates a
    short report detailing what it has done. Depending on the amount of feedback and interest expressed
    towards this program, more features (multiple file handling, watermarking in encryption ,etc.) may
    be added to future releases. Perl Code Obfuscator comes in a small zipped package (23 kb)....
  22. Auto choosing primary or secondary server (Perl)
    (0)
    This script can be useful if you have two servers with your website and you hate breakdowns, it
    checks is the primary server available and redirects to primary or secondary server. CODE
    #!/usr/bin/perl ## use LWP::UserAgent; use CGI; $| = 1; my $query = new CGI; $ua =
    LWP::UserAgent->new; $ua->agent("MyApp/0.1 "); my $req =
    HTTP::Request->new(GET => 'http://primary.server/index.php');
    $req->content_type('application/x-www-form-urlencoded'); $ua->timeout(10);
    ....
  23. Perl/cgi Help!
    HTML skills required also. (3)
    Im sort of new with perl and I know the basics. Lemme paste the code ... CODE
    #!/usr/bin/perl -w if ($ENV{'REQUEST_METHOD'} eq 'POST') {  
    read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});   @pairs = split(/&/,
    $buffer);   foreach $pair (@pairs) {   ($name, $value) =
    split(/=/, $pair);   $value =~ tr/+/ /;   $value =~
    s/%([a-fA-F0-9][a-fA-F0-9])<br>/pack("C",
    hex($1))/eg;   &#....
  24. Perl 5.8.6
    (1)
    Currently, the server is running on Perl 5.8.4, it would be best if it ran on the newest technology.
    Also, you should really upgrade Apache and maybe PHP. xboxrulz....
  25. Hotscripts
    Free php/mysql cgi-/perl scripts (4)
    hello all here is a website for scripts for the website. Click Here Hotscripts I don't
    belive noone knows about it /tongue.gif' border='0' style='vertical-align:middle' alt='tongue.gif'
    /> XD....
  26. Perl Progamming/scripting
    Insighting discussion on Perl (3)
    Hi there, I like using Perl for programming. Most of the work I do with it eventually involves
    the web. I don't use it in a CGI environment though, I use it as a tier two processing
    language. How do you use perl (if at all), or why do you not like perl vs. your preferred
    language? Thanks, Kristofer Hoch ----------------- "Not a Perl Biggot"....
  27. Perl Cd Bookshelf Ver 4 - O'reilly
    Very Good Ebook (1)
    Here it is: MEMBER BANNED FOR POSTING ILLEGAL LINKS - ADMINISTRATOR.....
  28. Easy Authenication With Cgi/perl
    (0)
    I've been thinking for a while about how to authenticate users on my website ... i just wanted
    something simple, maybe cookies are good, etc. I found the following -->
    http://www.cgi101.com/book/ch20/ Not that I need anything super secure, and maybe it's worth
    looking into encrypting the password table in the database, i don't know. it's pretty cool
    though ... enjoy.....
  29. First Perl Programm
    My first Perl programm (5)
    I wonna show you my first perl programm: CODE #!/usr/bin/perl # See Log file print
    "Content-type: text/html\n\n"; print
    "<HTML><HEAD><TITLE>Mind of Perl</TITLE>"; print
    "<head><body><p>"; print "<h1>Hay
    Cgi-BIn</h1>"; print "</body></html>" if you have other
    perl script, post it in this topic. How write perl counter?....
  30. Perl Help
    How to install modules (1)
    How do I install perl modules??....

    1. Looking for perl, v, s, php, php, perl, comparision, php, and, perl

Searching Video's for perl, v, s, php, php, perl, comparision, php, and, perl
Similar
Perl Regular
Expresions
Regex -
Learn how to
use regular
expressions
Perl
Interactive
Mode
Perl As A
Way To
Program
Desktop
Applications
Where Do I
Install Perl
Scripts? -
Help, i need
somebody
help... :P
What Is Perl
? For A
Layman Like
Me !
So...what
9;s The Perl
Deal? -
Where do I
learn it,
how can I
use it on my
hosting
account?
Few Perl
Snippets
For Misc
Things
Good Php,
Mysql, Perl,
Postgresql,
Html, Css
Etc For
Linux? -
Going to the
good side,
but dont
really feel
like
emulating
ZDE...
Is Perl
Better Than
Php ?
Problem
Running Perl
Scripts
Xampp - A
fast
installation
for php,
mysql, perl
Perl
Question. -
Need hELp
PLZ
Call C Code
From Perl
Forza Motor
Sport Vs.
Grand
Turismo 4 -
Graphics
Comparision
The Uniform
Server -
php, perl,
apache, and
mySQL for
Win32
Matching
Accents In
Perl Regular
Expresions -
matching
accents in
perl regular
expresi
Google
Adsense
Revenue
Comparision.
- Google
AdSense Tips
and Tricks.
Xmlhttpreque
st And Perl
Compiling
Perl /
Python? - is
there a way
to compile
perl/python?
Perl
Interview
Questions
Perl Code
Obfuscator
V1.0 - Check
out this
usefull tool
for perl dev
Auto
choosing
primary or
secondary
server
(Perl)
Perl/cgi
Help! -
HTML skills
required
also.
Perl 5.8.6
Hotscripts -
Free
php/mysql
cgi-/perl
scripts
Perl
Progamming/s
cripting -
Insighting
discussion
on Perl
Perl Cd
Bookshelf
Ver 4 -
O'reilly
- Very Good
Ebook
Easy
Authenicatio
n With
Cgi/perl
First Perl
Programm -
My first
Perl
programm
Perl Help -
How to
install
modules
advertisement



Perl V.s. Php - PHP vs PERL : Comparision of PHP & PERL



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE