Well, other than the fact that the while(each) doesn't do aliasing.
Since that would be the whole point, ignore that last message.
On Fri, Jul 20, 2001 at 01:21:57PM -0400, Mark J. Reed wrote:
> 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]>
--
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
