I believe what is really wanted is for "for" to be able to iterate
over lists of arrays or hashes:
for my @i ( @foo, @bar ) { ...
for my %i ( %foo, %bar ) { ...
with real aliasing occuring.
If @_ and %_ are the default iterator variables, then imagine:
for ( @argset1, @argset2 ) {
&quux;
But I'm not convinced of the utility of this over using
scalar references.
--
John Porter
- what's with 'with'? (was: [aliasing - was:[nice2haveit]]) Garrett Goebel
- Re: what's with 'with'? (was: [aliasing - was:[nice2h... Stuart Rocks
- Re: what's with 'with'? (was: [aliasing - was:[nice2h... Mark Koopman
- RE: what's with 'with'? (was: [aliasing - was:[nice2h... Sterin, Ilya
- Re: what's with 'with'? (was: [aliasing - was:[ni... Stuart Rocks
- RE: what's with 'with'? (was: [aliasing - was:[nice2h... Sterin, Ilya
- RE: what's with 'with'? (was: [aliasing - was:[nice2h... Sterin, Ilya
- Re: what's with 'with'? (was: [aliasing - was:[ni... 'John Porter '
- Re: what's with 'with'? (was: [aliasing - was... 'John Porter '
- RE: what's with 'with'? (was: [aliasing - was:[nice2h... Sterin, Ilya
- Re: what's with 'with'? (was: [aliasing - was:[ni... Stuart Rocks
- RE: what's with 'with'? (was: [aliasing - was:[nice2h... Sterin, Ilya
