At the end of the while loop, @order contains the order in which the %-codes were found, and %count contains the counts.while ($x =~ m/%(.)/g) { push(@order, $1); $count{$1}++; }
In reply to Re: Extracting the number of %'s in a string
by pc88mxer
in thread Extracting the number of %'s in a string
by mnranjeeth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |