Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2014-12-18 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (43 votes), past polls