Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Re: Dereferencing hashrefs

by CharlesClarkson (Curate)
on Feb 12, 2002 at 05:47 UTC ( [id://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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-25 07:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found