Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Setting the value of a complicated hash ref

by Matts (Deacon)
on Dec 29, 2002 at 10:59 UTC ( #222908=note: print w/replies, xml ) Need Help??


in reply to Setting the value of a complicated hash ref

Are you sure this isn't the problem:
if ($config{debug}) { print "pos[depth]: " . ${$pos[$depth]} . "\n" }
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://222908]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2020-03-30 01:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    To "Disagree to disagree" means to:









    Results (172 votes). Check out past polls.

    Notices?