John Porter <[EMAIL PROTECTED]> writes: > Russ Allbery wrote: >> $args = 'first second third'; >> @args = split (' ', $args); >> my $i = 0; >> %args = map { $_ => ++$i } @args; >> This is very Perlish to me; the punctuation is part of the variable >> name and disambiguates nicely. > No, it's not. Where are we taught this? It's a myth. > The punctuation imposes context on the variable expression. > $foo[0] > accesses an array. Where's the "@"? Now the [0] is disambiguating. Same difference. I'm not interested in nit-picking semantics. -- Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/>
- Re: RFC 109 (v1) Less line noise - le... John Porter
- Re: RFC 109 (v1) Less line noise... Ariel Scolnicov
- Re: RFC 109 (v1) Less line noise... David Corbin
- Re: RFC 109 (v1) Less line noise... David Corbin
- Re: RFC 109 (v1) Less line noise - let's get ... John Porter
- Re: RFC 109 (v1) Less line noise - let's get rid of @% John Porter
- Re: RFC 109 (v1) Less line noise - let's get rid ... John Barnette
- Re: RFC 109 (v1) Less line noise - let's get ... Jonathan Scott Duff
- Re: RFC 109 (v1) Less line noise - let's ... John Barnette
- Re: RFC 109 (v1) Less line noise - let's get ... John Porter
- Re: RFC 109 (v1) Less line noise - let's get rid ... Russ Allbery
- Re: RFC 109 (v1) Less line noise - let's get rid of @% John Porter
- Re: RFC 109 (v1) Less line noise - let's get rid ... Nathan Torkington
- Re: RFC 109 (v1) Less line noise - let's get ... John Porter
- Re: RFC 109 (v1) Less line noise - let's get rid of @% Steve Fink
- Re: RFC 109 (v1) Less line noise - let's get rid ... Ted Ashton
- Re: RFC 109 (v1) Less line noise - let's get ... Steve Fink
- Re: RFC 109 (v1) Less line noise - let's ... Damien Neil
- Re: RFC 109 (v1) Less line noise - le... Steve Fink
- Re: RFC 109 (v1) Less line noise - let's ... Ted Ashton
- Re: RFC 109 (v1) Less line noise - le... Steve Fink