Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: problem with subroutine and passing hash

by moritz (Cardinal)
on Jul 05, 2012 at 08:22 UTC ( #979986=note: print w/ replies, xml ) Need Help??

in reply to problem with subroutine and passing hash

You have asked 15 questions here, and either don't know how to debug and fix your programs, or you're too lazy to do it. That needs to change. Learn it and practise it, it's an essential skill in programming.

As a hint, the warning means that $matching_key is undef. So start to print interesting variables in the code, and compare them to what you would expect them to contain, until you find the root cause of your error.

Data::Dumper can help you with printing your data structures.

Comment on Re: problem with subroutine and passing hash

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2015-11-26 15:54 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (701 votes), past polls