Which is better to go with first, perl or php?

Discussion in 'Programming' started by einsteinsboi, May 30, 2007.

  1. #1
    Perl or PHP, which one would you recommend is better to learn first for all kinds of functionality? I am leaning towards doing PHP first because I have been modifying PHP scripts on a portal I set up, so it would be natural for me to start with that. But I want to learn something with a good amount of functionality, so I am wondering whether to start with perl or php, and would appreciate your recommendations.

    I am not a total newbie to programming but have not tried to learn script languages before. Also, once I learn one is it easy to pick the other one up?

    thanks ;)
     
    einsteinsboi, May 30, 2007 IP
  2. ryanjparker

    ryanjparker Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    For web sites/development I'd say go with PHP.

    For parsing documents and the like, though, nothing beats perl.
     
    ryanjparker, May 30, 2007 IP
  3. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #3
    .Net ;)
     
    AstarothSolutions, May 31, 2007 IP
  4. zonzon

    zonzon Peon

    Messages:
    100
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    for web -> php
    perl for systeme admins is very powerfull
     
    zonzon, May 31, 2007 IP
  5. Providence

    Providence Peon

    Messages:
    568
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You should go PHP. There is really no reason to go Perl. Since PHP already was adopted from Perl.
     
    Providence, May 31, 2007 IP
  6. daboss

    daboss Guest

    Messages:
    2,249
    Likes Received:
    151
    Best Answers:
    0
    Trophy Points:
    0
    #6
    php is really moving very fast and gaining momentum... so if you only have time for one, go with php... ;)
     
    daboss, May 31, 2007 IP
  7. einsteinsboi

    einsteinsboi Well-Known Member

    Messages:
    1,122
    Likes Received:
    76
    Best Answers:
    0
    Trophy Points:
    140
    #7
    thanks all for your responses. php is sounding more and more like the way to go.
     
    einsteinsboi, May 31, 2007 IP
  8. raredev

    raredev Peon

    Messages:
    49
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    php and start with a framework.
     
    raredev, Jun 2, 2007 IP
  9. smalldog

    smalldog Peon

    Messages:
    66
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Php is the best, very easy to learn
     
    smalldog, Jun 3, 2007 IP
  10. MrX

    MrX Well-Known Member

    Messages:
    1,563
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    140
    #10
    php

    start by downloading some sample scripts and then hacking/editing them to figure out how things work. it's the quickest way to learn a new language.
     
    MrX, Jun 3, 2007 IP
  11. einsteinsboi

    einsteinsboi Well-Known Member

    Messages:
    1,122
    Likes Received:
    76
    Best Answers:
    0
    Trophy Points:
    140
    #11
    What do you mean "start with a framework"?


    That's what got me interested in PHP. I've been setting up forums and portals and such, and many times I have to edit the php files to add my own logos and change fonts and things like that, so I found it very powerful. I actually helped someone here change a logo on a forum by changing some php files and made a few bucks in the process :D. Anyway, I also do a lot of data and text retrieval and manipulations that could be automated if I could write scripts. I've been told Perl is very good for that, so I was confused which one to start with. But I am thinking php is where I'll start.
     
    einsteinsboi, Jun 3, 2007 IP
  12. E-IndiaWeb

    E-IndiaWeb Well-Known Member

    Messages:
    467
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    110
    #12
    ofcourse php
     
    E-IndiaWeb, Jun 3, 2007 IP
  13. slawek

    slawek Peon

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    I don't see any reasons to learn Perl for web development. But I would suggest looking a .net platform too.
     
    slawek, Jun 4, 2007 IP
  14. TechRaider

    TechRaider Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    I'd go with PHP first. Many more resources available to help you along the way as you learn. I use it in large enterprise environments so I can vouch for it being a language you can use for large as well as small projects. My .02 cents.
     
    TechRaider, Jun 4, 2007 IP
  15. mangia

    mangia Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    PHP is good and completely OK for web but if you need more Perl is much better.

    Also, using frameworks is good idea. Check CodeIgniter...
     
    mangia, Jun 5, 2007 IP
  16. Cosmo Designs

    Cosmo Designs Peon

    Messages:
    247
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #16
    perl is obsolete but it can be useful at some point.
    if you want to learn how to make web applications go with php, good luck :) !
     
    Cosmo Designs, Jun 5, 2007 IP
    Dollar likes this.