RE: descending array range

2005-07-04 Thread Charles K. Clarkson
Eliyah Kilada wrote: : Hi, : let : @a = 111011010; : $a[0]=1; : $a[1]=1; Use split to do that automatically. my @a = split //, 111011010; : . : I need : @[EMAIL PROTECTED]@a[4..0]; That doesn't make sense. Concatenation (the '.') works on scalars, not arr

Re: descending array range

2005-07-04 Thread Peter Scott
On Mon, 04 Jul 2005 14:46:55 +0300, Eliyah Kilada wrote: > Hi, > let > @a = 111011010; I don't think you mean that, since it would mean @a contained one element, a large integer. I think you mean @a = qw(1 1 1 0 1 1 0 1 0), since you say: > $a[0]=1; > $a[1]=1; > . > I need > @[EMAIL PROTECTE