Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

are there any easter eggs in perl?

by morgon (Priest)
on Dec 13, 2014 at 22:13 UTC ( [id://1110284]=perlquestion: print w/replies, xml ) Need Help??

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

It's not quite the right season yet, but I've just come across the "aptitude moo", "aptitude -v moo" up to "aptitude -vvvvv moo" easter egg and I wonder if maybe there are some easter eggs hidden in perl?

Replies are listed 'Best First'.
Re: are there any easter eggs in perl?
by eyepopslikeamosquito (Archbishop) on Dec 13, 2014 at 23:38 UTC

    As far as I am aware less.pm is the only joke module in the Perl core.

    The Perl source code and the venerable Configure script are littered with witty comments and Tolkien quotes, mostly courtesy of Larry Wall (see "Source code" and "Configure" sections at Larry Wall wikiquote). For example:

    • double value; /* or your money back! */
    • echo 'Congratulations. You aren't running Eunice.'

    Parrot had a "Larry Wall/Dan Sugalski" easter egg hidden in its cc compiler options:

    cc -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/ +usr/include/gdbm -g -Dan_Sugalski -Larry -Wall -Wstrict-prototypes...

    Provoked by merlyn, pjf once submitted a patch to P5P to make Perl play nethack when sort is called in scalar context. Doubt this patch was ever accepted however.

Re: are there any easter eggs in perl?
by davido (Cardinal) on Dec 14, 2014 at 17:47 UTC

    I wonder if maybe there are some easter eggs hidden in perl?

    I doubt it, but if so, they're hidden in plain sight: Perl source.

    Despite its availability, nobody has ever accused the Perl source of being transparent and legible, though... ;)

    Modules are a different story. Even core modules often have rich non-core histories before they're inducted into the Perl core distribution. Nevertheless, for the most part I think you would find them to be free from intentional surprises.


    Dave

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1110284]
Approved by Old_Gray_Bear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-03-29 15:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found