Store it as Perl code and use do, or use a serialization format such as YAML (and read it in with YAML::Syck).
In reply to Re^3: Odd hash problem by Fletch in thread Odd hash problem by wpahiker