in reply to Re^4: Problem with untie
in thread Problem with untie

You might look into TIE::File or DBD::CSV at some point, if the amount of code to manage your flat files becomes cumbersome.