- or download this
$ perl -Mstrict -Mwarnings -E '
my $str = q{abc} x 3;
for ( my $idx = 0; $idx < length $str; $idx += 3 )
...
cab
cab
$
- or download this
$ perl -Mstrict -Mwarnings -E '
my $str = q{abc} x 3;
for ( my $idx = 0; $idx < length $str; $idx += 3 )
...
abc
abc
$