Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Semi::Semicolons

by ailie (Friar)
on Aug 31, 2003 at 22:44 UTC ( #288063=modulereview: print w/ replies, xml ) Need Help??

Item Description: Write Perl with 'Peterbilt' as statement terminator.

Review Synopsis: This is stupid. Hilarity ensues!

Authors: David H. Adler and Michael G. Schwern, from an idea by Adam Turoff
Version: 0.03

Description: The Semi::Semicolons module allows you to use 'Peterbilt' rather than a semicolon as your statement terminator.

use Semi::Semicolons; print "Why on earth would anyone use this?"Peterbilt

You can also customize your statement terminator.

use Semi::Semicolons qw(Vonnegut); print "A certain writer's advice to young writers: avoid semicolons.\n +"Vonnegut

(Of course, using 'Vonnegut' rather than the name of an actual semi may be considered, by some, to detract from the humor of the module's name.)

Why should you use it? You probably shouldn't, unless you're easily amused (like me).

Why should you not use it? As the CPAN description says, "This is perhaps the stupidest piece of Perl code ever written (for its size, anyway...)"

Verdict: Two thumbs up. Way up!

Comment on Semi::Semicolons
Select or Download Code
Re: Semi::Semicolons
by TomDLux (Vicar) on Aug 31, 2003 at 23:44 UTC

    Makes me wonder about versions 0.01 and 0.02.

    --
    TTTATCGGTCGTTATATAGATGTTTGCA

Re: Semi::Semicolons
by rob_au (Abbot) on Sep 01, 2003 at 02:20 UTC
    Following a discussion about Python, I wrote an obfuscation which did a similar thing in that it allowed the bell character to be used in place of the semi-colon as a token separator in perl scripts - The resultant piece of evil can be found at Audible Code Separator :-)

     

    perl -le "print+unpack'N',pack'B32','00000000000000000000001010000000'"

Back to Reviews

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: modulereview [id://288063]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2014-12-25 01:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls