It's really not an improvement, but rather a comment, since if aliases and iterations for numerous arrays were implemented, they would of course have to somehow behave with hashes, so this would be a bahavior that could be implemented. Ilya -----Original Message----- From: Mark J. Reed To: '[EMAIL PROTECTED] ' Sent: 07/20/2001 11:21 AM Subject: Re: array/hash manipulation [was :what's with 'with'?] On Fri, Jul 20, 2001 at 11:17:13AM -0600, Sterin, Ilya wrote: > But this will be flattened, so I would think > > for my($key, $val)(%my_hash) > { ... } > > Would be a great convenience. $key and $val being aliased accordingly. I'm sorry, but I fail to see how this is a big improvement over the current version: while (my ($key, $val) = each %my_hash) { ... } -- Mark J. REED <[EMAIL PROTECTED]>
- 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
- RE: array/hash manipulation [was :what's with 'with'?] Sterin, Ilya
- 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'?] Jeremy Howard
- RE: array/hash manipulation [was :what's with 'with'?] jh_lists
- RE: array/hash manipulation [was :what's with 'with'?] Sterin, Ilya
- RE: array/hash manipulation [was :what's with 'with'?] Sterin, Ilya