in reply to group things?
My problem is how will Perl "understand" that, for instance letters 6-10 are M and print 6-10:M and not 6:M, 7:M, 8:M, 9:M, 10:M?$str="-----MMMMM------IIIII----MMM---OOOO---I---MMMM-----"; @my_splitted_str=split("",$str);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: group things?
by FunkyMonk (Bishop) on Apr 25, 2008 at 22:39 UTC | |
by Joost (Canon) on Apr 25, 2008 at 22:46 UTC | |
|
Re^2: group things?
by ysth (Canon) on Apr 25, 2008 at 23:04 UTC |