in reply to Why repeated matches...
while (...) { if (some match) { do something with $1 } } [download]
-- Randal L. Schwartz, Perl hacker Be sure to read my standard disclaimer if this is a reply.