Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am debugging a large program I didn't write. At some point in the code, it prints GLOB(0xstuff) a bunch of times. The stuff is a hex number, presumably a mem address on my computer.
I am wondering what kind of structure one has to print in order to get this result. I tried printing references without dereferencing them, but that gets me HASH(0xstuff) ARRAY(0xstuff) and SCALAR(0xstuff), depending on what kind of reference I use.
I am running 5.8.1 on Redhat 9, though the code was originally written under 5.6.x on Redhat 7.3.
Please give me a hint, like some sample code that prints this type of output, or refer me to the correct section of TFM (I couldn't find it in perldoc).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: What kind of code prints GLOB(hexaddress)
by Paladin (Vicar) on Jun 06, 2003 at 19:43 UTC | |
by Anonymous Monk on Jun 06, 2003 at 20:06 UTC | |
|
Re: What kind of code prints GLOB(hexaddress)
by DigitalKitty (Parson) on Jun 06, 2003 at 20:18 UTC |