- or download this
foreach my $k (keys(%LogHash)) {
print LOGFILE $k, ",", $LogHash{$k}, "\n";
}
- or download this
%LogHash = ($HashKey => $SentRec = substr($_, 0, 20));
- or download this
$LogHash{%HashKey} = "THEVALUE";
- or download this
use Data::Dumper;
print Dumper(\%hash);