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
In reply to Re: Converting a Flat-File to a Hash
by Cody Pendant
in thread Converting a Flat-File to a Hash
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |