in reply to Re: Not Everyone Likes Perl, I Guess
in thread Not Everyone Likes Perl, I Guess

Thanks, jaldhar and perrin!

That's some pretty amazing stuff you have done with Perl, jalhar. Unfortuanately, my skills as a programmer aren't anywhere near any of those things. I don't know why so many people think CGI and Perl are the same thing, or that Perl is only used for the Web. As you have demonstrated, Perl is much larger than that!

perrin, I didn't know that many shared hosts ran PHP as CGI, although, it does make more sense, now that you mention it. My favorite aspect of Perl is Regexps, and although I'm not too good with them yet, I think they are implemented in the best way for Perl. I'm using PHP on my site right now, because I seem to be better at it for now. On my local server, when Perl was running, I usually come up with ideas and implement them in Perl.

PHP isn't just for the Web either, it has a nifty extension of itself called PHP-GTK, which is for writing desktop apps. I have never used it; just read about.

Thanks, guys!

Replies are listed 'Best First'.
Re^3: Not Everyone Likes Perl, I Guess
by Your Mother (Archbishop) on Oct 13, 2004 at 03:58 UTC

    PHP is great. Lots of extra skills is even better. Learn everything you find interesting and understand what a great leg-up the Perl community and code base is.

    CGI is not any one technology. It's just the Common Gateway Interface; the interplay between server and client while passing more than simple requests. CGI can be in Lisp, Ruby, modperl, C, shell, Perl, whatever. The trick with Perl is that CGI.pm has become synonymous with CGI.

    And probably the greatest, and concurrently the most terrible, part of Perl is that you don't have to be a great programmer to use/code pretty heady stuff. I'll quote/paraphrase dragonchild again: 90% of every Perl application is already written. Just cutting and pasting SYNOPSIS sections from CPAN POD you can write daemons, 2-way client/servers, graphs, robots, HTTP servers, RTF converters, XML feeds, Wikis, Excel parsers, and the list keeping rolling.

      (after you've read this, you will find me a badass :) )

      So... actually, Perl is just some kind of drag-n-drop Rapid Application Development tool like Visual Basic?

      /rant.




      "2b"||!"2b";$$_="the question"
      Besides that, my code is untested unless stated otherwise.
      One more: please review the article about regular expressions (do's and don'ts) I'm working on.