in reply to <> diamond Operator
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: <> diamond Operator
by jonadab (Parson) on Apr 06, 2005 at 21:38 UTC |