in reply to Converting a Flat-File to a Hash
How about you code your hash as %config=(foo=>'foo',bar=>'bar') etc., and just require it, using "our"? That way you don't have to read the file and convert it to Perl, it's Perl already.
($_='kkvvttuu bbooppuuiiffss qqffssmm iibbddllffss')
=~y~b-v~a-z~s; print
|
---|