in reply to Dynamic Hash value
Why?
Although there are ways to achieve the effect you describe (as others have indicated), it is likely that what you want to do can best be approached in a different way. Corion's sub get_SAS is a good example of how a very slight rethink of the problem may yeld a better solution, but we can't help you best (except by guessing and getting lucky) unless you supply the bigger picture.
Given that you show the result of printing the values contained in the hash it may be that you don't need a hash at all, but that an array may be more appropriate. How can we tell?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Dynamic Hash value
by Bheema_Tyco (Novice) on Apr 21, 2010 at 08:45 UTC | |
by mzedeler (Pilgrim) on Apr 21, 2010 at 20:22 UTC | |
by LanX (Saint) on Apr 21, 2010 at 08:59 UTC |