rot13 in perl - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: Perl Programming Support (https://www.supportforums.net/forumdisplay.php?fid=31) +---- Thread: rot13 in perl (/showthread.php?tid=3383) |
rot13 in perl - wat - 12-06-2009 huzzah x 2! Code: #!/usr/bin/perl RE: rot13 in perl - Socrates - 12-08-2009 Nice!!!!!!!! RE: rot13 in perl - 0x80483fb - 12-12-2009 I picked this up, while checking out POE::Component::IRC Cookbook. Code: $rot13 =~ tr[a-zA-Z][n-za-mN-ZA-M]; Source: http://poe.perl.org/?POE_Cookbook/IRC_Bots RE: rot13 in perl - wat - 12-12-2009 (12-12-2009, 06:56 AM)0x80483fb Wrote: I picked this up, while checking out POE::Component::IRC Cookbook. Yeah, but that way's no fun. And you can get rid of the capitals if you supply the 'i' modifier. |