Sterin, Ilya wrote: > Well then maybe $_ can be a reference to a multidimensional array or hash, > and temp vars can be access like this. > > for ( @foo, @bar ) { > print "$_->[0] : $_->[1]\n"; > } That's bizarre and unnecessary. We can already do this: for ( \@foo, \@bar ) { print "$_->[0] : $_->[1]\n"; } -- 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