Re: Search single scalar variable for Multiple matches

2009-09-02 Thread Uri Guttman
> "NGW" == Noah Garrett Wallach writes: NGW> what is the cleanest way to search a multi-line single scalar variable NGW> full of configuration information. I want match on specific criteria NGW> and then save a portion of the matched information in a hash or hashes NGW> variable.

Search single scalar variable for Multiple matches

2009-09-02 Thread Noah Garrett Wallach
Hi there, what is the cleanest way to search a multi-line single scalar variable full of configuration information. I want match on specific criteria and then save a portion of the matched information in a hash or hashes variable. What is the best approach to doing this? Cheers, Noah --