Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Rot13 Challenge

by eyepopslikeamosquito (Chancellor)
on Feb 10, 2011 at 05:01 UTC ( #887339=note: print w/replies, xml ) Need Help??


in reply to Rot13 Challenge

As you might expect, this has been golfed a few times before. For example:

The Qwika Perl wikipedia example program (which matches Anony's response above) is:
perl -pe 'tr/A-Za-z/N-ZA-Mn-za-m/' < input_file > output_file
while the shortest Perl solution at shinh's golf site is:
#!perl -p y/N-ZA-z/A-za-m/

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://887339]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2016-12-10 18:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (164 votes). Check out past polls.