in reply to get last characters out of string?

substr is the way to go:

use strict; use warnings; my $str = '1234567890' x 10; print substr $str, -60;

Prints:

123456789012345678901234567890123456789012345678901234567890

DWIM is Perl's answer to Gödel