Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Rot13 Challenge

by eyepopslikeamosquito (Archbishop)
on Feb 10, 2011 at 05:01 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://887339]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-26 09:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found