newbie has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Do complicated Perl programs really exist?

Replies are listed 'Best First'.
Re: Do complicated Perl programs really exist?
by grep (Monsignor) on Oct 17, 2006 at 02:47 UTC
Re: Do complicated Perl programs really exist?
by sgifford (Prior) on Oct 17, 2006 at 05:24 UTC
Re: Do complicated Perl programs really exist?
by GrandFather (Saint) on Oct 17, 2006 at 02:10 UTC

    Take a look at some of the code in CPAN. You might start with XML::Twig of Date::Manip for example. I've not looked at the code myself, but suspect that it is non-trivial. Or is it that only games code can be complicated?


    DWIM is Perl's answer to Gödel
      oh, definitely games ... i mean, look at complicated backends of websites -- i'm _sure_ that like 105% are in .NET or something and not "perl" .. i mean, what successful, popular, high traffic site could possibly exist w/a perl backend?!? I, for one, can't think of a single one.

      oh, wait.

        I can think of one, but would you want to let someone who thought games were the epitomy of complexity (and excellence to aspire to one assumes) loose on it code base?


        DWIM is Perl's answer to Gödel
        I believe that openbc.com runs with perl + fastcgi.
Re: Do complicated Perl programs really exist?
by Melly (Hermit) on Oct 17, 2006 at 08:59 UTC

    "complicated" <> "games"

    If your post was intended as flamebait, I guess it will do, but if it was a genuine question, you really need to think a little bit more about, well, how things work.

    An articulated truck is unlikely to win an F1 race, but that doesn't make such a truck "worse" than an F1 car - it's all about context.

    For the record, the longest perl code I've written was about 1500 lines, and knocked several kinds of sh*t (speed, error handling, etc.) out of the previous C solution we had for the task.

    Basically, if your task involves heavy string manipulation (as my 1500 liner did), then perl is probably going to be a very good solution. Likewise if you need a simple script to perform some basic sys-admin or provide some extra functionality to a website.

    Un-ask the question.

    Tom Melly, tom@tomandlu.co.uk
Re: Do complicated Perl programs really exist?
by Anonymous Monk on Oct 17, 2006 at 04:30 UTC
    "But I couldn't find 1 normal simple game like pacman or something let alone very complicated programs. Now I am really doubting Perl as a languag"

    That's a pretty uninformed and ignorant statement. 'Games' are only one thing you can do with programming. Different languages have different strengths and weaknesses for various applications. People like doing games in C, because its a low level language compared to perl or python. When people make games in higher languages , and choose between perl and python, they'll often choose python as it has better libraries for imaging/gaming and is faster with numbers. but perl kicks python's ass at string manipulation.

    Saying that you doubt Perl as a language is saying that you doubt donuts as food, because you don't like them for dinner, only for breakfast.
Re: Do complicated Perl programs really exist?
by Joost (Canon) on Oct 20, 2006 at 14:21 UTC
    Do complicated Perl programs really exist?
    Yes.
    Maybe a strange thing but I am looking for complicated Perl programs and I cannot find them, don't care how much they cost a demo is also welcome. I want to test the interpreter.
    Search harder. http://freshmeat.net/browse/176/ for example has loads of them.
    But I couldn't find 1 normal simple game like pacman or something let alone very complicated programs. Now I am really doubting Perl as a language.
    Search harder. Anyway, you seem to be under the impression that a complex program is one that has a complex interface and vice versa. That's not true even in general. Also, perl isn't really used much for games even though there are some.

    Is this possible for Perl? Show me!
    Do your own research.
    When it is possible it should be there, if it isn't there it is not been proven that it is possible.
    What are you talking about?

    Cheers,
    Joost.

Re: Do complicated Perl programs really exist?
by zentara (Archbishop) on Oct 17, 2006 at 13:30 UTC
Re: Do complicated Perl programs really exist?
by castaway (Parson) on Oct 18, 2006 at 11:22 UTC
    Yes, you're using one right now.

    C.

Re: Do complicated Perl programs really exist?
by Anonymous Monk on Oct 17, 2006 at 14:17 UTC
    I've seen many complicated programs in Perl. Most of them written by very bad programmers. (-;
Re: Do complicated Perl programs really exist?
by Anonymous Monk on Oct 17, 2006 at 15:06 UTC
    No. Using Perl and CPAN makes them all simple :)
Re: Do complicated Perl programs really exist?
by tinita (Parson) on Oct 17, 2006 at 15:26 UTC
    But I couldn't find 1 normal simple game like pacman or something let alone very complicated programs. Now I am really doubting Perl as a language.
    that reminds me of this quote: "Perl is so durn easy ..."
Re: Do complicated Perl programs really exist?
by wulvrine (Friar) on Oct 20, 2006 at 17:28 UTC
    Perl, being simple in nature, could not conceivably write a complicated game. By its name, it is Practical, which of course means no fun. Extraction and Reporting, now theres a title for a new hot selling game, or maybe not. By definition it is incapable of gaming. Notice how all of my fellow monks have been tossing out 'complicated' programs trying to defend the poor language that they have been shackled into using by corporate bosses. I suppose, given the complicated nature of these programs it would be a natural, spiritual leap of faith into assuming a complicated game could be produced. However this leap would be WRONG, again please see the definition of the language, nothing practical is ever enjoyable.

    Of course, super complicated games, are not all that fun to play. Especially super-complicated games with massive restrictions. Many of the the best games out there are 'simple' in nature. This could, perhaps, be why they survived all these years while obviously much more complicated and involved situations only lasted short durations.

    You've found our dirty little secret sir, and should be commended!!

    s&&VALKYRIE &&& print $_^q|!4 =+;' *|
Re: Do complicated Perl programs really exist?
by xorl (Deacon) on Oct 17, 2006 at 15:50 UTC

    perl game

    BTW I agree with the previous posts. Your ideas really need to be rethought.

    One thing not mentioned by the previous posts, the people who use perl are more unix and command line types. Their idea of a fun game is not going to be today's flashy crap. Their idea of a fun game is to figure out how to make their server do something "cool" with "cool" being something only a computer geek would think is cool.

      I dunno. I fit the "unix and command line" type description, but I think today's flashy crap can make for some fun games.

      What doesn't fit my idea of a fun game is making my server 'do something "cool"'. That's the sort of thing I want to "just work" (to steal a line from Apple), and I shouldn't have to put my thought and energy into making something work that should "just work" already. That's why I use perl... because when things inevitably don't "just work", it's the easiest way to make them work.

      Perl is the crutch that supports my laziness.

      the people who use perl are more unix and command line types. Their idea of a fun game is not going to be today's flashy crap.

      ... 18 days to go.

      Now excuse me while I go and whip up a command line app that reminds me just how much longer I have to wait whenever I log in.

A reply falls below the community's threshold of quality. You may see it by logging in.