in reply to
capturing from path
You may also be interested in reading the responses to these nodes below, as a very similar question was also asked today by one of your classmates:
greping from a file
capturing names
Comment on
Re: capturing from path
In Section
Seekers of Perl Wisdom