| 1 | #!/usr/local/bin/perl | ||||||||||
| 2 | 4 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 4 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | |||||||||||
| 5 | =begin metadata | ||||||||||
| 6 | |||||||||||
| 7 | Name: rot13 | ||||||||||
| 8 | Description: Rotate the Latin letters by 13 positions | ||||||||||
| 9 | Author: Mark Rosetta (@marked on GitHub) | ||||||||||
| 10 | Contributor: brian d foy, bdfoy@cpan.org | ||||||||||
| 11 | License: artistic2 | ||||||||||
| 12 | |||||||||||
| 13 | =end metadata | ||||||||||
| 14 | |||||||||||
| 15 | =cut | ||||||||||
| 16 | |||||||||||
| 17 | 4 | ▶ | while ( <> ) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 18 | 5 | tr/A-Za-z/N-ZA-Mn-za-m/; | |||||||||
| 19 | 5 | print; | |||||||||
| 20 | }; | ||||||||||