Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Caesar Shift

by mpeg4codec (Pilgrim)
on Aug 25, 2004 at 02:53 UTC ( #385564=note: print w/ replies, xml ) Need Help??


in reply to Caesar Shift

#!/usr/bin/perl -w use strict; chomp(my $cypher = <STDIN>); $cypher = lc($cypher); $cypher =~ tr/a-z/n-za-m/; print "ROT: $cypher\n";

Untested.


Comment on Re: Caesar Shift
Download Code
Re^2: Caesar Shift
by Aristotle (Chancellor) on Aug 25, 2004 at 14:31 UTC

    The point of the OP's code is to apply all 26 possible shift widths.

    Makeshifts last the longest.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2014-08-02 05:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (55 votes), past polls