"be consistent" | |
PerlMonks |
Re: Help!!! How to find duplicates?by jacques (Priest) |
on Dec 05, 2009 at 00:52 UTC ( [id://811180]=note: print w/replies, xml ) | Need Help?? |
The problem here is in separating your function calls. I came up with a solution that split your text on commas but then I saw that certain function calls contain commas and that wouldn't work.
Try separating each function call with something other than a comma, like a special character. Then you can split that string on that character and grep out the duplicates. Better yet, forgo putting the calls in a string and put them in an array and then grep that.
In Section
Seekers of Perl Wisdom
|
|