Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Best way to take reference to an array \ or []

by muba (Priest)
on Jan 22, 2013 at 12:35 UTC ( #1014644=note: print w/replies, xml ) Need Help??


in reply to Re^2: Best way to take reference to an array \ or []
in thread Best way to take reference to an array \ or []

Note that your code, especially the line

return \%user_details;
will return a hash reference.

Replies are listed 'Best First'.
Re^4: Best way to take reference to an array \ or []
by vinoth.ree (Monsignor) on Jan 22, 2013 at 12:46 UTC
    Hi muba

    Thanks for that, I corrected in my code, updating the post now