in reply to Re: Finding a pattern in a string
in thread Finding a pattern in a string

I personally believe that due to the OP's failing to put his code in <code> tags, it rendered like that, but it's fairly obvious that he wrote and meant

my $string = join '', map $chars[rand @chars], 1 .. 100;

In doubt, check the xml source of the post.