CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [MB123] Script Advice: Is it doing what I think it is?: Edit Log



Laurent_R
Veteran / Moderator

Nov 29, 2012, 11:19 PM


Views: 2566
Re: [MB123] Script Advice: Is it doing what I think it is?


In Reply To
Could you please elucidate what you mean by overlapping repetition of data? As in the same item of $data repeated in the same line?


Well if $data contains "foofoo" and your line "foofoofoofoofoo", if will probbly count 2 occurrences though you could consider it comes 4 times. This example is simplistic, but it can get a bit subtle sometimes.

On the other point, if you suspect you don't get the count right, please supply examples of your data, it is difficult to say something without seeing the actual case.


(This post was edited by Laurent_R on Nov 30, 2012, 12:13 AM)


Edit Log:
Post edited by Laurent_R (Veteran) on Nov 30, 2012, 12:13 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives