in reply to Re-using a hash value in same hash?
my %HoH = ( yadda1 => { key1 => "value1", key2 => &GetValue, # returns date string }, yadda2 => { key1 => "value1", key2 => &GetValue, # returns date string }, ); for( keys %HoH ) { $HoH{$_}{key3}= &Compare( $var1, $HoH{$_}{key2} ); }
is one way to do it.
- tye (but my friends call me "Tye")
|
|---|