And now in the usual idiom as well.
join "," , map substr( $str, $-[$_], $+[$_] - $-[$_] ), 1 .. $#+;
In reply to Re: Re: Re: Array of ($1, $2, ...) in replacement part of s///?
by diotalevi
in thread Array of ($1, $2, ...) in replacement part of s///?
by sleepingsquirrel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |