[Bioperl-l] module for pattern matching

gowthaman ramasamy gowtham at icgeb.res.in
Fri Apr 30 01:17:55 EDT 2004

hello list,
i would like to know if there is any module for the following purpose.

using perl i want to capture the multiple occurrence of a pattern (reg
exp) ,which i can do by following line.
@array1 = $string =~ m/..../;
But how can i get the position of all the occurrences of pattern?. If i
have 10 matches, i want not only the matches but also their positions. 
Any help will be appreciated.

Ra. Gowthaman,
Graduate Student,
Bioinformatics Lab,
Malaria Research Group,
ICGEB , New Delhi.

Phone: 91-9811261804
       91-11-26173184; 91-11-26189360 #extn 314

More information about the Bioperl-l mailing list