in reply to Re: Finding a random position within a long string (Activeperl Build 822)
in thread Finding a random position within a long string (Activeperl Build 822)
is very nice. This one does really work (in Win32/Activeperl).$string =~ s/(.)/( rand 10 < 1 ) ? '?' : $1/eg;
|
|---|