kmullin5016 has asked for the wisdom of the Perl Monks concerning the following question:
OK, this is a "what's wrong with my code" question, which is probably an inappropriate use of this site, but I'm stuck and I have nowhere else to go, and I think I've nailed the problem done pretty well, I just don't know the solution. Here we go.
Here is the definition of the problem hash in my code:
%SA_DATA_LOCK_DOWN = { 'SECALERT_ALERTS_ID'=>0, 'SECALERT_NUM'=>0, 'TECH_SPEC_ID'=>0, 'OS_APP_NAME'=>0,
and there is more to it. I test the population of this with this code:
foreach (keys(%SA_DATA_LOCK_DOWN)) { print "SA_DATA_LOCK_DOWN key: $_ SA_DATA_LOCK_DOWN Value: $SA_DATA_L +OCK_DOWN{$_}<br>"; }
The print statement is all on one line. It prints this:
SA_DATA_LOCK_DOWN key: HASH(0x4024fe60) SA_DATA_LOCK_DOWN Value:
Only one line, and what is the HASH print? Can somebody help me with this.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: What causes HASH to print?
by holli (Abbot) on Feb 27, 2007 at 15:41 UTC | |
by Thelonius (Priest) on Feb 27, 2007 at 16:32 UTC | |
|
Re: What causes HASH to print?
by davorg (Chancellor) on Feb 27, 2007 at 16:33 UTC | |
|
Re: What causes HASH to print?
by Paladin (Vicar) on Feb 27, 2007 at 15:41 UTC | |
|
Re: What causes HASH to print?
by EvanK (Chaplain) on Feb 27, 2007 at 15:43 UTC | |
by Fletch (Bishop) on Feb 27, 2007 at 16:12 UTC |