Slashdot Mirror


Lighter Side of CPAN

bleechack writes: "Looks like Perl.com is fully ready for the release of Lord of the Rings with this week's "Lighter Side of CPAN"."

6 of 66 comments (clear)

  1. Obufscated Haiku'd Perl by ukryule · · Score: 5, Funny
    So to sum up this article, if you add this at the top of your Perl programs:
    use Symbol::Approx::Sub;
    use Coy;
    Then not only will your Perl be even less decipherable than normal Perl code (wow!), but the errors you get from it will be hidden in lines of poetry! No self-respecting programmer would have it any other way ...

    Now, it's back to debugging my program for me:

    -----
    Two old men encounter
    beside a pond. A swallow
    flying. Two trout.
    -----
    Lao Tse's commentary...
    Execution of ./new.pl aborted due to compilation errors.

    ("The Way of Mysterious Compiler": line ???)
  2. Matlab by sasha328 · · Score: 4, Interesting

    I remember when I used to use Matlab, there was a funtion called "Why". It used to spit out these silly answers. It somehow made using Matlab slightly less tedious.
    This is just like all the hidden easter eggs in programs written by most programmers. (The built in screen saver in some versions of Word does not count.)

    1. Re:Matlab by unitron · · Score: 4, Insightful
      "...The built in screen saver in some versions of Word..."

      Is that the blue one with the white letters and the cryptic message?

      --

      I see even classic Slashdot is now pretty much unusable on dial up anymore.

  3. I always thought... by Grim+Metamoderator · · Score: 5, Funny

    ...that Perl itself was evidence that Larry Wall had a sense of humor.

  4. More serious modules by mir · · Score: 5, Funny

    I can't believe the article did not mention ACME::Bleach which just bleaches your program. Run it once and your code magically disappears... but still runs!


    ACME::Buffy is similar, except your program is turned into a Buffy mantra that can be chanted or executed.


    In fact the whole ACME name space is reserved just for silly and incredibly useful modules.

    --
    Look, that's why there's rules, understand? So that you think before you break 'em. (Terry Pratchett)
  5. The Song by TeknoHog · · Score: 4, Funny
    $tune = $Aerosmith['Pink']

    Perl, It's my new obsession
    Perl!~/\?/
    Perls on the neck of your lover
    'coz Perl gives you stuff to discover

    Perl at the bin in my /usr
    Perl, cos you are no luser
    Perl, it's the coding with passion
    cos() today it just goes with the Slashdot

    Perl, what a mess at first sight
    Perl, with the regexps so wild
    Perl, gets the lowest of nice


    And I think all these bugs are going to multiply no matter what we hack tonight.
    - you could be my dromedary
    'coz Perl is a lingo so scary
    Perl likes its vars with the dollar
    it's curled but you don't ever tell 'er, yeah
    Perl, what a mess at first sight...

    And I think all this code is going to self-rewrite no matter what we eval() tonight.
    I want to be your regex
    I wanna doc you in latex
    Perl on the screens that we key on
    Perl, do I hate that one python, yeah
    Perl, what a mess at first sight...

    And I think all this code is going to multiply no matter what we eval() toniiiiiiiiiiiiiiight.
    --
    Escher was the first MC and Giger invented the HR department.