Perl-Sensitive Sunglasses | |
PerlMonks |
Re^3: Reading "slices" out of a file at known start markersby hacker (Priest) |
on Oct 03, 2008 at 05:54 UTC ( [id://715140]=note: print w/replies, xml ) | Need Help?? |
Responding to my own question: I think I may have figured out an easier way:
This puts each item as key/value pairs in the %config hash, which I can them print out and manipulate as $config{'SOURCES'} for example. I guess the only thing I end up losing here, is the basic original formatting, but I can probably iterate through the hash and reconstruct that back somehow. Anyone familiar with the innards of Config::General that can lend a hand so I can use it correctly?
In Section
Seekers of Perl Wisdom
|
|