>>what are you doing?!?!? shouldn't it be:
>>for my $hewArray (keys %hashStats)
>> {
>> print "@$hewArray @$hashStats{$hewArray} \n";
>> }
I was blindly copying from the book (once get something to work, then go
back and try to understand why). Plugged in your snippet and get:
Global symbol "$hashStats" requires explicit package name at hewtest.pl line
30
Execution of hewtest.pl aborted due to compilation errors.
------------------
Removed the $ from the @$ variables and
In string, @hewArray now must be written as \@hewArray at hewtest.pl line
30, ne
ar "@hewArray"
Global symbol "@hewArray" requires explicit package name at hewtest.pl line
30.
Scalar value @hashStats{$hewArray} better written as $hashStats{$hewArray}
at
hewtest.pl line 30.
Execution of hewtest.pl aborted due to compilation errors.
------
Made those changes, and now back to where I started.
HewTrace004 - from 1st for block at top of PP pg 277
@hewArray ARRAY(0x4a68d4)
@hewArray ARRAY(0x4a68d4)
@hewArray ARRAY(0x4a68d4)
@hewArray ARRAY(0x4a68d4)
@hewArray ARRAY(0x4a68d4)
@hewArray ARRAY(0x4a68d4)
Obviously making a fundamental error somewhere. Will go back to the book
and enter the examples exactly as written and work upward from there.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]