$line =~ s/(\d\d)(\d\d)/$1 $2/g;
Update: Note that /d and \d are different.
In reply to Re: substituting capture groups substrings
by choroba
in thread substituting capture groups substrings
by naturalsciences
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |