Re: combining array ref's

2005-11-16 Thread Dave Gray
On 11/13/05, Tom Allison <[EMAIL PROTECTED]> wrote: > my $A = [1,2,3,4,5,6,7,8,9]; > my $B = [11,12,13,14,15,16,17,18,19]; > > timethese(1000, > { > 'plain' => 'my $array = [$A, $B];', > 'loopy' => 'push @$A, $_ foreach @$B;' > }); Another im

Re: combining array ref's

2005-11-14 Thread Tom Allison
John W. Krahn wrote: Tom Allison wrote: John W. Krahn wrote: Mike Blezien wrote: what is the most effecient way to combine multiple array refs into one array ref, IE: my $arrayrefA = ['1',2','3']; my $arrayrefB = ['4','5','6']; my $arrayrefC = ['7','8','9']; my $allarrayref = (Combine $a

Re: combining array ref's

2005-11-14 Thread John W. Krahn
Tom Allison wrote: > John W. Krahn wrote: >> Mike Blezien wrote: >> >>> what is the most effecient way to combine multiple array refs into one >>> array ref, IE: >>> >>> my $arrayrefA = ['1',2','3']; >>> my $arrayrefB = ['4','5','6']; >>> my $arrayrefC = ['7','8','9']; >>> >>> my $allarrayref = (Co

Re: combining array ref's

2005-11-13 Thread Tom Allison
John W. Krahn wrote: Mike Blezien wrote: Hello, Hello, what is the most effecient way to combine multiple array refs into one array ref, IE: my $arrayrefA = ['1',2','3']; my $arrayrefB = ['4','5','6']; my $arrayrefC = ['7','8','9']; my $allarrayref = (Combine $arrayrefA $arrayrefB $arra

Re: combining array ref's

2005-11-11 Thread Mike Blezien
Thanks John, this helps get me in the right direction of what I'm trying to accomplish :) Mickalo John W. Krahn wrote: Mike Blezien wrote: Hello, Hello, what is the most effecient way to combine multiple array refs into one array ref, IE: my $arrayrefA = ['1',2','3']; my $arrayrefB =

Re: combining array ref's

2005-11-11 Thread John W. Krahn
Mike Blezien wrote: > Hello, Hello, > what is the most effecient way to combine multiple array refs into one > array ref, IE: > > my $arrayrefA = ['1',2','3']; > my $arrayrefB = ['4','5','6']; > my $arrayrefC = ['7','8','9']; > > my $allarrayref = (Combine $arrayrefA $arrayrefB $arrayrefC) So