|Welcome to the Monastery|
How to split an array identified by numbers to get the correct sequence of elementsby supriyoch_2008 (Scribe)
|on Apr 19, 2012 at 11:20 UTC||Need Help??|
supriyoch_2008 has asked for the
wisdom of the Perl Monks concerning the following question:
I am a beginner in perl programming. I need a perl program to split an array and to get the sequence of elements identified by number from left to right. For example, I have an array@k=”CCATGNNNTAACCNNATGNNTAGCC”;
I am interested in getting the substrings between elements 3 and 11 and between 16 and 23 (first position marked as 1).
Result should be like this: