>I was against the idea of hash context, but I'd love it if:
> foreach ($k,$v) (%hash) {
> ...
> }
I'd like for Perl to emit a warning if people try
for (%hash)
or its aliases. That is, if a foreach loops sole content is
a %{...} at compile time, grinch.
--tom
- Idea: minor %hash changes Nathan Torkington
- Re: Idea: minor %hash changes Tom Christiansen
- Re: Idea: minor %hash changes Nathan Torkington
- Re: Idea: minor %hash changes Tom Christiansen
- Re: Idea: minor %hash changes Tom Christiansen
- Re: Idea: minor %hash changes Tom Hughes
- Re: Idea: minor %hash changes Nathan Torkington
- Re: Idea: minor %hash changes Tom Hughes
- Re: Idea: minor %hash changes Jerrad Pierce
- Re: Idea: minor %hash changes Tom Hughes
