#!/usr/bin/perl
$palindrome="Jarred arts sell less, Trader Raj!"; @daTa=split //,$palindrome;
$Palindrome="A Danish custard--drat such sin, Ada"; @Data=split //,$Palindrome;
$palIndrome="O, Lisa sees a silo!"; @DAta=split //,$palIndrome;
$palindrOme="Pets never even step"; @daTa=split //,$palindrOme;
$palindroMe="Kayak salad - Alaska yak"; @DaTa=split //,$palindroMe;
@ATAD = ; @A = @DAtA; @B = @dATA; @C = @daTA; @D = @daTa; @d = @data;
$DATA=join'',@ATAD; for( reverse split //, $DATA ){ $ATAD .= $_ }; $_=$ATAD;eval
#print "\u$D[0]\L$A[10]$a[3]$a[2] \l$A[0]$A[4]\l$T[0]$a[2]$A[7]$a[1]$D[2] "
# . "\u$a[0]\L$a[1]$D[2]$T[-3] $A[7]$D[1]$A[9]\l$d[0]$a[1]\l$D[-4], ";
__DATA__
__ATAD__
# ;" ,]4-[D$l\]1[a$]0[d$l\]9[A$]1[D$]7[A$ ]3-[T$]2[D$]1[a$L\]0[a$u\" .
# " ]2[D$]1[a$]7[A$]2[a$]0[T$l\]4[A$]0[A$l\ ]2[a$]3[a$]01[A$L\]0[D$u\" tnirp
;} _$ =. DATA$ {) ATAD$ ,// tilps esrever (rof ;DATA@ ,'' nioj = ATAD$#
;atad@ = d@ ;aTad@ = a@ ;ATad@ = T@ ;ATAd@ = A@ ;AtAD@ = D@ ;>ATAD< = DATA@
;eMordnilap$,// tilps=atad@ ;"kay aksalA - dalas kayaK"=eMordnilap$
;emOrdnilap$,// tilps=aTad@ ;"pets neve reven steP"=emOrdnilap$
;emordnIlap$,// tilps=ATad@ ;"!olis a sees asiL ,O"=emordnIlap$
;emordnilaP$,// tilps=ATAd@ ;"adA ,nis hcus tard--dratsuc hsinaD A"=emordnilaP$
;emordnilap$,// tilps=AtAD@ ;"!jaR redarT ,ssel lles stra derraJ"=emordnilap$
lrep/nib/rsu/!#
enjoy.
Oh God! i feel like i'm drunk ... hic ....
More than palindrome you could called it mirror or something like that ...
I think, i can make the same effect with some code, a mirror, a digital camera, gimp||photoshop, a character recognition application :
Step 1) Take a photo of your initial code on your screen
Step 2) Put the mirror in front of your screen
+--------+
| Screen |
+--------+
||
+---------+ +----------+
| Mirror1 | <-> | Mirror 2 |
+---------+ +----------+
Step 3) take a photo of the 'mirror 2'
Step 4) save the two photos to your Hardisk
Step 5) open your gimp||photoshop
Step 6) Join the two photos
Step 7) Pass the ocr
Step 8) saves the result, and get so many errors
when trying to compile it hehehe
cheers
perlmonks.org content © perlmonks.org and chargrill, liverpole, turo
prlmnks.org © 2006 edmund von der burg (eccles & toad)
v 0.03