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_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_data }1; sub b { return %b_data }1; But no $results data. What am I missing? Thanks, Jerry -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>
