http://qs321.pair.com?node_id=144788


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.