Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

A blow of the ugly stick

by g0n (Priest)
on Feb 03, 2006 at 17:27 UTC ( [id://527735]=obfuscated: print w/replies, xml ) Need Help??

This unprepossessing little specimen originated in a conversation with Corion about getting as many punctuation marks in a row as possible whilst remaining valid perl:

@_='529593941075888994827992105879928610827577857992'=~/../g;for(0..$# +_){printf"%c",--$_[$[+$_]+$#_}
Update: A slight enhancement with $[, courtesy of Corion.

--------------------------------------------------------------

"If there is such a phenomenon as absolute evil, it consists in treating another human being as a thing."
John Brunner, "The Shockwave Rider".

Replies are listed 'Best First'.
Re: A blow of the ugly stick
by jdalbec (Deacon) on Feb 04, 2006 at 13:10 UTC
    Surely there's no limit on how many punctuation marks you can have in a row while remaining valid Perl. See Punctuation JAPH for example.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-25 16:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found