Update: Using while instead of for to simplify getting the pairs.$s = "abcdef"; print "$1,$2\n" while $s =~ /(.)(?=.(.))/g;
In reply to Re: Sliding window
by choroba
in thread Sliding window
by Ralph_zodang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |