SitePoint Sponsor

User Tag List

Results 1 to 10 of 10
  1. #1
    SitePoint Evangelist
    Join Date
    May 2006
    Posts
    436
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Starting with Perl

    I'd like to go into something beyond PHP and am thinking about Perl.

    What can Perl do that PHP can't? Is it true you can write deamons in Perl? Is there a good Perl editor for Linux or Mac? Can Perl do multithreading?

    Thanks.

  2. #2
    SitePoint Enthusiast tuxidomasx's Avatar
    Join Date
    Feb 2007
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    as far as a perl editor, i use jEdit

    its java so its cross platform anyway. full syntax highlighting, plugins, customizable, lots of options.

    i use it for all my code-- php, html, c/c++, perl, etc
    i make it rain on them hoes

  3. #3
    SitePoint Wizard bronze trophy KevinR's Avatar
    Join Date
    Nov 2004
    Location
    Moon Base Alpha
    Posts
    1,053
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    as far as web applications go, perl and php do the same things, but php was designed for web applications so is easier in some respects than perl. Perl is a full blown programming language and has uses beyone web stuff, but holds your hand less than php does. Many things that have a builtin functions in php don't exist in perl, so you are expected to do more of the programming in other words. But perl has tons of modules that can be installed or used as needed. Perl scripts/programs can be run as deamons (or under mod_perl for faster processing times.) Perl can do multithreading too. To be fair you should ask this question on a php forum too.

  4. #4
    The Mind's I ® silver trophy Dark Tranquility's Avatar
    Join Date
    Sep 2003
    Location
    KSA - UAE
    Posts
    9,457
    Mentioned
    8 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by DrQuincy View Post
    I'd like to go into something beyond PHP and am thinking about Perl.

    What can Perl do that PHP can't? Is it true you can write deamons in Perl? Is there a good Perl editor for Linux or Mac? Can Perl do multithreading?

    Thanks.
    I would suggest learning Ruby instead of Perl especially if you are going to use your stuff fir the web

  5. #5
    SitePoint Guru
    Join Date
    Feb 2006
    Location
    Pittsburgh, Los Angeles
    Posts
    706
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I would suggest learning Ruby instead of Perl especially if you are going to use your stuff fir the web
    What does Ruby do for the web that Perl doesn't?

    Anyhow, Perl is a great scripting language. Its very powerful, it doesn't get in your way and it doesn't try to hide the fact that its a scripting language like some of the others.

  6. #6
    The Mind's I ® silver trophy Dark Tranquility's Avatar
    Join Date
    Sep 2003
    Location
    KSA - UAE
    Posts
    9,457
    Mentioned
    8 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by Snaily View Post
    What does Ruby do for the web that Perl doesn't?
    Nothing! but Ruby is "selling" better! you will have a lot more programming and developing requests for Ruby than for Perl that was my point!
    Needless to say Perl is really powerful!

  7. #7
    SitePoint Guru
    Join Date
    Feb 2006
    Location
    Pittsburgh, Los Angeles
    Posts
    706
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you will have a lot more programming and developing requests for Ruby than for Perl that was my point!
    Where did you get this from? If its a new project usually clients don't request a particular technology...and if we're talking existing projects...well there are many more apps written in Perl than Ruby (just because its been around so much longer).

    Anyhow, you're suggesting that he use Ruby because there is more hype around it....

  8. #8
    The Mind's I ® silver trophy Dark Tranquility's Avatar
    Join Date
    Sep 2003
    Location
    KSA - UAE
    Posts
    9,457
    Mentioned
    8 Post(s)
    Tagged
    1 Thread(s)
    yes it is more hype!
    and I had no Perl projects for my company since a year or so while we've launched 3 Ruby Apps during the last year! but yes it is true that 95% of the clients won't request a particular programming language for a new project! or at least this is our case! Still all those 3 ruby projects were requested by the clients.

    And don't get me wrong, I am not against Perl or saying it is a waste of time to learn it!

  9. #9
    SitePoint Wizard bronze trophy KevinR's Avatar
    Join Date
    Nov 2004
    Location
    Moon Base Alpha
    Posts
    1,053
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I remember all the hype about php years ago, and look at it now. Don't knock hype (too much anyway)

  10. #10
    The Mind's I ® silver trophy Dark Tranquility's Avatar
    Join Date
    Sep 2003
    Location
    KSA - UAE
    Posts
    9,457
    Mentioned
    8 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by KevinR View Post
    I remember all the hype about php years ago, and look at it now. Don't knock hype (too much anyway)
    I agree


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •