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

Reply via email to