in reply to Runtime Hash Variable access
But, i'm not sure if the loop will work either. You need to try it again. It might be better to save references into array.%ABCDev = qw /A 1 B 2 C 3/;
@prods=(\%ABCDev,\%DEFDev,\%GHIDev); for($i=0;$i<=$#prods;$i++) { @prodkeys = keys %{$prods[$i]}; print "@prodKeys\n"; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Runtime Hash Variable access
by Juerd (Abbot) on Mar 08, 2004 at 14:23 UTC | |
by Hena (Friar) on Mar 09, 2004 at 09:07 UTC | |
Re: Re: Runtime Hash Variable access
by spaceforsrini (Initiate) on Mar 08, 2004 at 15:17 UTC |