- or download this
"0123456789" =~ /(\d{3})/g;
- or download this
main::(-e:1): 1
DB<1> $foo = "123456790"
...
0 123
1 456
2 790
- or download this
"0123456789" =~ /(?:(\d{3}))/g;
- or download this
DB<4> @w2 = ( $foo =~ /(?:(\d{3}))/g );
...
0 123
1 456
2 790