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 "@"?
--
John Porter
- Re: RFC 109 (v1) Less line n... Steve Fink
- Re: RFC 109 (v1) Less line n... Casey R. Tweten
- Re: RFC 109 (v1) Less line n... Casey R. Tweten
- Re: RFC 109 (v1) Less line n... Nathan Torkington
- Re: RFC 109 (v1) Less line n... Steve Fink
- Re: RFC 109 (v1) Less line n... Nathan Torkington
- Re: RFC 109 (v1) Less line n... Steve Fink
- Re: RFC 109 (v1) Less line noise - let's get ... John Porter
- Re: RFC 109 (v1) Less line noise - let's ... Nathan Torkington
- Re: RFC 109 (v1) Less line noise - le... John Porter
- Re: RFC 109 (v1) Less line noise - let's get rid ... John Porter
- Re: RFC 109 (v1) Less line noise - let's get ... John Barnette
- Re: RFC 109 (v1) Less line noise - let's ... Jonathan Scott Duff
- Re: RFC 109 (v1) Less line noise - le... John Barnette
- Re: RFC 109 (v1) Less line noise - let's ... John Porter
- Re: RFC 109 (v1) Less line noise - let's get ... Russ Allbery
- Re: RFC 109 (v1) Less line noise - let's get rid ... Kai Henningsen
- Re: RFC 109 (v1) Less line noise - let's get ... Mike Pastore
- Re: RFC 109 (v1) Less line noise - let's get ... Russ Allbery
- Re: RFC 109 (v1) Less line noise - let's get rid of @% Nathan Torkington
- Re: RFC 109 (v1) Less line noise - let's get rid ... Karl Glazebrook
