Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Unable to figure out - undefined value as a HASH reference

by SuicideJunkie (Vicar)
on Jul 30, 2015 at 19:12 UTC ( [id://1136904]=note: print w/replies, xml ) Need Help??


in reply to Unable to figure out - undefined value as a HASH reference

What is $self->steps supposed to be? Whatever you intended, it is not a hash reference that you can look up $p in.

Did you mean $self->{steps}{$p} perhaps?

Replies are listed 'Best First'.
Re^2: Unable to figure out - undefined value as a HASH reference
by Audar (Novice) on Jul 30, 2015 at 20:07 UTC
    SuicideJunkie, that was it! I was not using the reference correctly. You saved me a few hours of breaking my head.

    Points!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-19 05:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found