Hi all
I am a perl newbie! And i am confused as to how to use arrays..
After some operation, my @array consists of lotta numbers..when i print @array, I get something like 1111111123448395911111111111245 etc..
I need to count the consecutive ones and store it in an array. Is there anything I could do?
I am a perl newbie! And i am confused as to how to use arrays..
After some operation, my @array consists of lotta numbers..when i print @array, I get something like 1111111123448395911111111111245 etc..
I need to count the consecutive ones and store it in an array. Is there anything I could do?