Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Rot13 Challenge

by eyepopslikeamosquito (Canon)
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/


Comment on Re: Rot13 Challenge
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2014-08-28 04:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (256 votes), past polls