Re: script takes long time to run when comparing digits within strings using foreach

2011-05-28 Thread John W. Krahn
eventual wrote: Hi, Hello, I have an array , @datas, and each element within @datas is a string that's made up of 6 digits with spaces in between like this “1 2 3 4 5 6”, so the array look like this @datas = ('1 2 3 4 5 6', '1 2 9 10 11 12', '1 2 3 4 5 8', '1 2 3 4 5 9' , '6 7 8 9 10 11'); No

Re: script takes long time to run when comparing digits within strings using foreach

2011-05-28 Thread Dr.Ruud
On 2011-05-27 10:18, eventual wrote: I have an array , @datas, and each element within @datas is a string that's made up of 6 digits with spaces in between like this “1 2 3 4 5 6”, so the array look like this @datas = ('1 2 3 4 5 6', '1 2 9 10 11 12', '1 2 3 4 5 8', '1 2 3 4 5 9' , '6 7 8 9 1

Re: script takes long time to run when comparing digits within strings using foreach

2011-05-27 Thread Shlomi Fish
Hi eventual, On Friday 27 May 2011 11:18:01 eventual wrote: > Hi, > I have an array , @datas, and each element within @datas is a string that's > made up of 6 digits with spaces in between like this “1 2 3 4 5 6”, so the > array look like this @datas = ('1 2 3 4 5 6', '1 2 9 10 11 12', '1 2 3 4 5

script takes long time to run when comparing digits within strings using foreach

2011-05-27 Thread eventual
Hi, I have an array , @datas, and each element within @datas is a string that's made up of 6 digits with spaces in between like this “1 2 3 4 5 6”, so the array look like this @datas = ('1 2 3 4 5 6', '1 2 9 10 11 12', '1 2 3 4 5 8', '1 2 3 4 5 9' , '6 7 8 9 10 11'); Now I wish to compare each