Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: Re: Dereferencing hashrefs

by CharlesClarkson (Curate)
on Feb 12, 2002 at 05:47 UTC ( #144788=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Dereferencing hashrefs
in thread Dereferencing hashrefs

I'm not sure why you want to return a hash instead of a reference, but there's no need to create %ref or %rec.

$dbh->disconnect(); return %$rec_ref unless $rec_ref->{company} eq ''; return undef;



HTH,
Charles K. Clarkson
Clarkson Energy Homes, Inc.


Comment on Re: Re: Re: Dereferencing hashrefs
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2015-07-07 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls