in reply to
How is this printing?
Yes, but you don't have to worry about that with a while loop, since it ends as soon as it fails to find a match.
Comment on
Re: How is this printing?
In Section
Seekers of Perl Wisdom