P is for Practical | |
PerlMonks |
Re: Setting the value of a complicated hash refby Matts (Deacon) |
on Dec 29, 2002 at 10:59 UTC ( [id://222908]=note: print w/replies, xml ) | Need Help?? |
Are you sure this isn't the problem:
This tries to treat $pos[$depth] as a scalar reference and dereference it. But that array entry is just a plain scalar, so you don't need to dereference it at all. I'm guessing though, since I didn't take the time to run your code.
In Section
Seekers of Perl Wisdom
|
|