in reply to Re: Printing hash key shows obscure values - can this be trimmed/removed?
in thread Printing hash key shows obscure values - can this be trimmed/removed?
That works. Thank you. Any suggestion to avoid using UNIX system call 'egrep' to extract those records which do not match? i.e:$hRec{$CmpKey.";".$CmpKey2}=$CmpValue;
Once the differences have been identified, I split the key into 2 variables. Then attempt to grep the record from the input file to display the full record.my ($recnos, $vINVOICE_TXT) = split (';', $key) ; .... .... .... my $Rec=`egrep ^$recnos"\t"\$recnos.*$vInv $ARGV[0]` ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Printing hash key shows obscure values - can this be trimmed/removed?
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 | |
|
Re^3: Printing hash key shows obscure values - can this be trimmed/removed?
by Laurent_R (Canon) on Apr 28, 2015 at 20:10 UTC |