Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: return via hash reference

by choroba (Chancellor)
on Jan 26, 2013 at 01:33 UTC ( #1015443=note: print w/replies, xml ) Need Help??

in reply to return via hash reference

Which part of the code prints "results hash"? Also, after assigning to $hashref (line 20 in the sub), $hashref no longer references %hash.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^2: return via hash reference
by kp2a (Sexton) on Jan 26, 2013 at 03:13 UTC
    right you are! - I have to copy rather than assign the result to the hash ref! thanks! an extra pair of eyes is always useful!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2016-10-25 21:36 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (330 votes). Check out past polls.