in reply to Converting a Flat-File to a Hash

Any solution which uses a module won't really be making "better use of the computer's resources", I suppose.

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