Date: Mon, 03 Sep 2001 18:16:13 +0100 From: Jasper McCrea Subject: Re: array questions Message-Id: <3B93BADD.4177B527@guideguide.com> "E.Chang" wrote: > > Jasper McCrea wrote in > <3B937B6D.1E3CB973@guideguide.com>: > >or you could do this: > > > >@array1 = (@array1, @array2); > > That produces a single flattened list, the same as using push. That is, > I believe, not what the OP wants; he wants an array of arrays ("But I > need ..."). > > >(straight from 'Learning Perl' IIRC) > > Yes, and LP explains that it creates a single list of the elements > from each. > > -- > EBC erk. I feel pretty stoopid, now. Even more so than usual, as if that were possible. And my dad always told me to 'read the question'. Still, who ever listens to their old man. Jasper -- split//,'019617511192'. '17011111610114101114'. '21011141011840799901'. '17101174'; foreach(0.. # my $#_){$_[$_ # signature is too ++]^=$_[$_ # bignature --]^=$_[$_ ]^=$_[++ $_]if!($_% 2)}$g.=$_ ,chr($g)=~ /(\w)/&&($o.=$1and $g='')foreach@_; print"$o\n"