12345678910
#!/usr/bin/perluse strict;use warnings;my $string = 'abcdefghijklmnopqrstuvwxzy0';while($string =~ s/(...)//) { print "$1\n";}