I think what you might want to try is this:
push @myVars,(@$stats,@$totals,$loads); if what you are trying to do is just add the contents of the last three arrays to the @myVars array... -----Original Message----- From: Kipp, James [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 9:56 AM To: 'Shishir K. Singh'; Kipp, James; [EMAIL PROTECTED] Subject: RE: combining data structures into one array > > @stats = (user, cpu, mem, tot_cpu, tot_mem, load1, load2); > > > You can do this > > ######################################### > my @myVars = (); > push (@myVars, @$stats, @$totals, $loads); > ########################################## tried that, it does not work. I think i have found a way though. back in a minute. but as drieux mentioned i think I am going to rethink how get_stats retrieves and returns the data. > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]