Tom Phoenix wrote:
It's hard to say for sure why it's not working, without seeing what you're trying to do. But maybe you want to use the 'last' operator to exit the foreach once you find a match? 'last' is documented in the perlfunc manpage.
I believe that's just what I'm looking for, thanks so much. :-)
Hope this helps! --Tom Phoenix Stonehenge Perl Training
-- ------------------------------------------------------------------------ Charles Farinella Appropriate Solutions, Inc. (www.AppropriateSolutions.com) [EMAIL PROTECTED] voice: 603.924.6079 fax: 603.924.8668 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>