well done. but as you said the "form is way ugly". I have adjusted the sub
to return array refs that i can easily deal with.


> -----Original Message-----
> From: drieux [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 18, 2002 1:35 PM
> To: begin begin
> Subject: Re: combining data structures into one array
> 
> 
> 
> On Tuesday, June 18, 2002, at 09:40 , Kipp, James wrote:
> 
> > $totals = [
> >     [ 15.8, 17.2 ],
> >     [ 3.7, 3.9 ],
> >     ....etc....
> > ];
> 
> 
> could it be that this form is like way Ugly?
> 
> note that assume a function of form:
> 
> # let us Dummy up some data
> sub gets_Stats {
> 
>       my @load = qw/0.1 0.2/;
>       
>       my $stat = [
>       [ "oracle", 6.8, 11.2 ],
>       [ "ksh", 1.8, 1.2 ],
>       [ "JoeBob", 3.3, 4.4],
>       ];
> 
>       my $total = [
>               [ 15.8, 17.2 ],
>               [ 3.7, 3.9 ],
>               [ 12.2, 6.66],
>       ];
> 
>       return($stat, $total, \@load);
> } # end of gets_Stats
> 
> then you can unwarp it with say:
> 
> http://www.wetware.com/drieux/pbl/Auslanders/gets_stats.txt
> 
> ciao
> drieux
> 
> ---
> 
> 
> -- 
> 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]

Reply via email to