Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

tac|rev|perl

by BooK (Curate)
on Feb 16, 2001 at 06:50 UTC ( #58776=obfuscated: print w/replies, xml ) Need Help??

Kickstart said something about s$x$y$g in the CB, and palindromes quickly became the topic (I guess my talking about y$x$y$ didn't help).

Anyway, here is my first try at a piece of code you can run through perl or tac|rev|perl... It's not symmetrical, and it does different (and rather poor) stuff each time. Call it proof of concept... and enjoy.

;;sub a;q;;;$_=a $;=$y=x;$x=y;;;; y$x,$y$;qq tnirp ;,mit;print,q;}{ _ bus;;sub a{$_[ 0].$/}s q;/q\/q;

P.S.: This seems to have B::Deparse enter an infinite loop if you try to deparse the script.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: obfuscated [id://58776]
Approved by root
help
Chatterbox?
[marto]: good morning all
[Corion]: Hi marto!
[Corion]: I hope you had a good weekend!
[Discipulus]: good morning again monks!
[choroba]: Good morning!
[Corion]: I have a rough plan to release an ImageNet classifier in Perl (well, using pretrained data, but still a nice toy)
Discipulus is going mad with the new win10 client.. tried mv Cortana /dev/null but no succes
[Corion]: Ouch - another pretrained set is available, using images from IMDB and Wikipedia. So I expect interesting results for non-PR images where people are pictured that are not made up

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2017-09-25 08:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (277 votes). Check out past polls.

    Notices?