Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • If you want to jump in the deep end, or just need to make this half as long and a little more complex, or want to learn some Perl idioms as quickly and painfully as possible (figuratively speaking), go to the Monastery [perlmonks.org] and post in Seekers, indicating that you're looking to make this shorter and sweeter. Ask nicely. (Read the Friendly FAQ on posting first, it'll save you a lot of time and trouble later.) You'll get a lot of responses, most of which will include rewrites of your code in maybe one-third as
    --

    ------------------------------
    You are what you think.
    • I still think that simpler is better. Specially, if it requires to be passed around to another (unsuspecting) individual, other than yourself. So called "Monastery" is a good idea, can't argue with that, but, excuse me, Perl is not a religion, it does not require a monastery, monks or following... It's a programming language... Right?...
      • Yes and no. Some people like it so much that they become, more or less, "disciples of the faith".

        I think it's more about what it is to you. If you want it to be a regular ol' programming language, it's certainly that. But there is a sense of community that follows the language around the battered* landscape of the Net, and the resource that the community can be is invaluable compared to the language.

        I know it's frustrating at times. Just yesterday night I banged my head against regex after regex, and they're easy regex, they're not really that complex, and I should know better by now.

        It's a long, winding path. So is every other language. One of the differences with Perl that I like so much is that more advanced features don't typically require lots of extra code -- usually, you just slap a module into the appropriate place.

        So, yes, it is -- but to some people, it's more than that. If it's not to you, nobody will fault you for it. I'd still recommend you check out CPAN, though. :)

        --

        ------------------------------
        You are what you think.