Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

**Palindromic** one-liner hog :)

by MeowChow (Vicar)
on Feb 01, 2001 at 12:36 UTC ( #55669=note: print w/ replies, xml ) Need Help??


in reply to one-liner hogs

lave,,,,s,,reverse;eval;lave;esrever,,s,,,,eval
Ok, so the reverse doesn't really have to be in there, but i think it's cheating if any part of the palindromic code isn't actually executed :-)
   MeowChow                                               
                print $/='"',(`$^X\144oc $^X\146aq1`)[-2]


Comment on **Palindromic** one-liner hog :)
Select or Download Code
Re: **Palindromic** one-liner hog :)
by MeowChow (Vicar) on Feb 01, 2001 at 14:50 UTC
    Funny, I just realized I've written, like, two other nodes to do this very thing within the last two weeks...

    We Perl Monks sure know how to abuse a language, eh?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2015-07-05 16:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls