raptor wrote:
>
> for my $el1, $el2 ( @foo, @bar ) {
Hopefully you mean
for my $el1, my $el2 ( @foo, @bar ) {
or maybe
for [ my $el1, my $el2 ] ( @foo, @bar ) {
And yes, it's an old idea.
> PS. I was thinking of that before, what if we have something let's call it
> 'transform' for transformation of any structure to other structure..
This sort of thing should certainly not be in the kernel.
--
John Porter
- Re: array/hash manipulation [was :what's with 'with'?] raptor
- Re: array/hash manipulation [was :what's with 'with'?] John Porter
- Re: array/hash manipulation [was :what's with 'with'?] Jeremy Howard
- RE: array/hash manipulation [was :what's with 'with'?] Sterin, Ilya
- Re: array/hash manipulation [was :what's with 'with'?] raptor
- RE: array/hash manipulation [was :what's with 'with'?] Sterin, Ilya
- Re: array/hash manipulation [was :what's with 'with'?] Mark J. Reed
- Re: array/hash manipulation [was :what's with 'with'?] Eric Roode
- RE: array/hash manipulation [was :what's with 'with'?] Sterin, Ilya
- RE: array/hash manipulation [was :what's with 'with'?] Sterin, Ilya
