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.
In reply to Re^2: Finding a pattern in a string
by blazar
in thread Finding a pattern in a string
by Kenin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |