in reply to Re: Mystery character in hash key name
in thread Mystery character in hash key name
Hi,
That was it! This works:-
foreach (keys %NewRFactorAverageHash) { $RScale = $NewRFactorAverageHash{$_}; $F = 0; $BBEL = 0; $AR = 0; $VL = 0; print ("original key is $_\n"); @LaL = split (/$;/, $_); print ("new key is @LaL\n"); }
BTW, notice I replaced "new key is $LaL" with "new key is @LaL"...the original post was a typo.
Thanks again!
-Fiddler42
In Section
Seekers of Perl Wisdom