lang/perl/ HomePage


Important man pages

perlrun

Record separator

Usually this is newlines. As an example of using something else, this uses uppercase A as the record separator:

echo helloAworldAmrAflibble | perl -0x41 -pe 'tr/A/\n/;tr/[a-z]/[A-Z]/'