Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Returning hash reference from a sub

by blue_cowdawg (Monsignor)
on Mar 18, 2013 at 14:37 UTC ( [id://1024068]=note: print w/replies, xml ) Need Help??


in reply to Returning hash reference from a sub

seems to me you are going to a lot of trouble to return a single row.

#sniglet # # somewhere in your while loop return { names => $row->{names} } if $row->{names};

Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg

Log In?
Username:
Password:

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

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

    No recent polls found