Use a regular expression something like this:
$string =~ s/monk/shift @array/eg ;
Take a look at perlre for more details.
__END__In reply to Re: changing value to ones on array
by DamnDirtyApe
in thread changing value to ones on array
by c_lhee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |