ansh batra has asked for the wisdom of the Perl Monks concerning the following question:
i am using if(grep {$_ eq $a} @text) but here i cannot specify the count.foreach $a(@arr) { if $a is occurring more than two times in text then print "$a"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: REGEX:getting the count of occerence
by GrandFather (Saint) on Jan 02, 2012 at 05:51 UTC | |
|
Re: REGEX:getting the count of occerence
by Marshall (Canon) on Jan 02, 2012 at 08:01 UTC | |
by ansh batra (Friar) on Jan 02, 2012 at 08:41 UTC | |
|
Re: REGEX:getting the count of occerence
by Anonymous Monk on Jan 02, 2012 at 07:27 UTC |