develooper Front page | perl.beginners | Postings from September 2009

Search single scalar variable for Multiple matches

Thread Next
From:
Noah Garrett Wallach
Date:
September 2, 2009 21:35
Subject:
Search single scalar variable for Multiple matches
Message ID:
4A9F479F.3090708@enabled.com
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

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About