in reply to Printing hash key shows obscure values - can this be trimmed/removed?
My guess is that you should replace
$hRec{$CmpKey,";",$CmpKey2}=$CmpValue;
with
$hRec{$CmpKey.";".$CmpKey2}=$CmpValue;
reason being that if you supply a list as a hash key, Perl uses $; as a seperator which has \034 as default value, see perlvar.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Printing hash key shows obscure values - can this be trimmed/removed?
by AnomalousMonk (Archbishop) on Apr 28, 2015 at 13:27 UTC | |
|
Re^2: Printing hash key shows obscure values - can this be trimmed/removed?
by yasmarina (Initiate) on Apr 28, 2015 at 13:27 UTC | |
by hdb (Monsignor) on Apr 28, 2015 at 13:32 UTC | |
by yasmarina (Initiate) on Apr 28, 2015 at 14:15 UTC | |
by hdb (Monsignor) on Apr 28, 2015 at 19:00 UTC | |
by Laurent_R (Canon) on Apr 28, 2015 at 20:10 UTC |