RE: Ref and deref of hash

2005-02-01 Thread Jerry Preston
GOT IT! Jerry -Original Message- From: Jerry Preston [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 12:14 AM To: 'Perl Beginners' Subject: Ref and deref of hash I have a .pm file that calls sub a that calls sub b. Sub B returns %data to sub a in the form %a_da

Ref and deref of hash

2005-02-01 Thread Jerry Preston
I have a .pm file that calls sub a that calls sub b. Sub B returns %data to sub a in the form %a_data = sub a; I am trying to return \%a_data to the original program that call sub a. $results = $data->a; sub a { %b_data = &b; # data good! return \%b