I wouldn't use:
$lc_str = $str | ("\x20" x (length $str)); push @index, $-[0] while $lc_str =~ /xxx/g; substr($str, $_, 3) = 'ggg' foreach @index;
I also wouldn't use the diamond operator.
In reply to Re: <> diamond Operator
by Anonymous Monk
in thread <> diamond Operator
by kocaweb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |