PSP has asked for the wisdom of the Perl Monks concerning the following question:
print $sqlexecinfo; shows 1677721807/20/2017 00:03:38 while print $sidstat{$instsid}; shows HASH(0x2017b98) why is the difference?
open(SQLPLUS,"$CMD|") or die "Could not start SQLPLUS"; while (<SQLPLUS>) { chomp; my ($instsid,$sqlexecinfo)=split '=>'; $sidstat{$instsid}{SQLEXECINFO}=$sqlexecinfo; print $sqlexecinfo; print $sidstat{$instsid}; } debug(scalar(keys %sidstat)." session state recorded.\n"); return \%sidstat;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Value of a key in hash in hex
by huck (Prior) on Jul 20, 2017 at 07:15 UTC | |
by PSP (Initiate) on Jul 20, 2017 at 17:29 UTC | |
by hippo (Archbishop) on Jul 20, 2017 at 17:37 UTC | |
by AnomalousMonk (Archbishop) on Jul 20, 2017 at 22:05 UTC | |
|
Re: Value of a key in hash in hex
by AnomalousMonk (Archbishop) on Jul 20, 2017 at 07:34 UTC |