I have a subroutine which makes a number of recursive calls and uses as input a scalar reference from an array. I am able to retrieve the number from the reference, however, I would also like to print out the array and index information that was used.


Ultimately I get this:

(A) SCALAR(0x4759c) SCALAR(0x47680) SCALAR(0x4759c)


where the input was:

(B) \$array[0] \$array[1] \$array[0]


is there any way for me to work backwards and pull the array name and index (B) from: (A) SCALAR(0x4759c)?

-todd


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to