>>>>> "NGW" == Noah Garrett Wallach <noah-l...@enabled.com> 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.

  NGW> What is the best approach to doing this?

it depends on the format of the file. there are many configuration file
formats and a good many have parsers on cpan. so if it is one of them,
use the appropriate module.

uri

-- 
Uri Guttman  ------  u...@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to