Slashdot Mirror


Perl Design Patterns - Free Book

Scott Walters writes "Perl programmers and Java programmers have a lot to learn from each other. Perl 5 is providing more and more optional stricture, and Perl 6 is expected to provide stricture by default and other goodies as type safety. Perhaps better named "Stupid Perl Object Tricks", Perl Design Patterns proves that a little design, a little computer science, and some style are nothing to fear. This is dedicated to all of the newbies screaming, "The code is fine! Just tell me what the bug is!", and to all of the talented programmers who think Perl deserves a better reputation. Object::PerlDesignPatterns on CPAN is updated less often but has a fatter pipe."

17 comments

  1. Can someone fix the URL in the story ? by ch166 · · Score: 2

    http:// perldesignpatterns /perldesignpatterns.html just doesn't seem to work for me

    --
    -- Chris
    1. Re:Can someone fix the URL in the story ? by scrottie · · Score: 5, Interesting

      Sorry, I'm a highass. I type the URL all the time, but I botch it this once. I tested the link as directed by the instructions, and Mozilla silently fixed it. Stupid protecting me from my stupidity so I don't even know I'm stupid until too late... anyway thanks to Slashdot for putting the story through. And, no, I'll be amazed if slowass.net survives. If the pages doesn't load, the machine is an Apple Mac 7300/180, 180mhz 604e (pre-G3) with 32 megs of RAM. On a slow day, it is overloaded. An idle CPU is the playground of the devil! Okey folks, flame away. -scott

  2. That site won't survive a slashdotting... by nyamada · · Score: 3, Informative

    Better just read the O'Reilly net article about perl design patterns here

    1. Re:That site won't survive a slashdotting... by el+rapisto · · Score: 5, Informative

      While the O'Reilly Net Article is interesting, the Perl Design Patterns page is worth a read too as it provides *far* (read 860Kb of text) more than the two page document at O'Reilly.

  3. Lots of Perl Patterns Resources by scrottie · · Score: 4, Informative

    perldesignpatterns.com/?PerlPatternsResources tries to track them. Oh, I'm turning off Wiki edits until later. Come back in a few days if you want to contribute to the site. Want to keep things in some sort of condition for the rush. Thanks again to Slashdot for the link and for everyones comments, constructive or otherwise. -scott

  4. reviews by bcrowell · · Score: 1

    Reviews of the book on The Assayer would be appreciated!

  5. My two cents worth by Marvin_OScribbley · · Score: 4, Insightful

    This is an excellent book. The author is to be commended for offering a free book such as this. Some parts of it were hard for me to read, basically because the site is (or was) open to editing, and therefore was a bit chaotic. But if you just stick to the main page and read through sequentially it goes pretty well. (Although for some reason the chapters for beginnings should be at the beginning, and they aren't.)

    Overall, Good work! Where is the link to donate money to you via PayPal? (Just kidding, I hate paypal ;) but you outta have some kind of donation link.

    --
    I'm not a journalist, but I play one on slashdot
    1. Re:My two cents worth by Anonymous Coward · · Score: 0

      you can donate a perl necklace.

  6. Look, Err... by Anonymous Coward · · Score: 0

    Free Egg.

  7. My Favorite Perl Design Pattern... by Anonymous Coward · · Score: 3, Funny

    head -n 1 /dev/urandom > myfile.pl

    1. Re:My Favorite Perl Design Pattern... by Anonymous Coward · · Score: 0

      What's even cooler is that when I ran the above it output the DeCSS source code. Perl is amazing!

  8. Hiding the source code is more easy now too by pesets · · Score: 3, Insightful

    Yet another reason to use Perl for mid-sized projects instead of Java, in cases when Java was sometimes chosen only because it was easier to hide the source code of the app/module by coding it in Java, - was recently eliminated by the introduction of obfuscators like Stunnix Perl-Obfus or similar ones. That's a very good news for us Perl fans. Let's hope Perl will be treated even more seriously by corporations when Perl6 will be declared stable..

    1. Re:Hiding the source code is more easy now too by Anonymous Coward · · Score: 0

      was recently eliminated by the introduction of obfuscators like Stunnix Perl-Obfus or similar ones

      Gee, you don't work for the company or anything do you? New account, and both posts you've made hype that over-priced obfuscation program. It'd be worth 50bux, but at nearly 1,000... forget it.

  9. Re: Perl Obfuscator by Anonymous Coward · · Score: 1, Funny

    Perl Obfuscator ...
    from the Department of Redundancy Department