in reply to Predefined hash keys

The answer depends on what format the keys are in right now. Serialized using Data::Dumper? Printed to a flat file in 'name:value' pairs? Something else?

----
Reinvent a rounder wheel.

Note: All code is untested, unless otherwise stated

Replies are listed 'Best First'.
Re: Re: Predefined hash keys
by weltyj (Novice) on Mar 19, 2003 at 18:19 UTC
    No, it's even simpler than that -- I have a sub in a module, and it does stuff like: -- $h{$other_key}{"ymin"} = yada $h{$other_key}{"ymax"} = big_yada -- So, I know the only 2 secondary keys I'll ever need are "ymin" and "ymax" thanks, jw