PERL PERL5 PORTERS 38 RE REFERENCES TO ANONYMOUS ARRAYS
Subject: Re: References to anonymous arrays
Date: Sun, 20 Feb 2005 17:21:13 +0000

From: nick@no-spam (Nick Ing-Simmons)

Sisyphus <kalinabears@no-spam> writes:
>
>You mean that someone would actually write \(0..127) and expect that to=20
>be an array of 128 scalar references ??

Yes. After all the other case is trivialy done with [0..127]
so you might as well get something different.


Date: Sun, 20 Feb 2005 20:13:30 +0000

Subject: Re: References to anonymous arrays













From: kalinabears@no-spam (Sisyphus)
Nick Ing-Simmons wrote:
> Sisyphus <kalinabears@no-spam> writes:
> >>You mean that someone would actually write \(0..127) and expect that to >>be an array of 128 scalar references ??
> > > Yes. After all the other case is trivialy done with [0..127]
> so you might as well get something different.
>
And you can just as trivially create a reference with [@no-spam .... so let's make \@no-spam be an array of references to the elements of @no-spam
Cheers,
Rob