Bjoern Hoehrmann <> writes:
> * Andrew wrote in comp.lang.perl.misc:
[...]
>> I have learned
>>(again, please correct me if I am wrong) that Perl itself (!!!) -- in
>>its new and radically revised VERSION 6, is tossing out this baby with
>>the bath water -- this gem of a syntax, obliterating the "$" versus "@"
>>distinction, and (as I would put it) is descending to the painfully
>>banal and ambiguous "$" for both scalars and arrays (?!) (that we
>>observe in PHP)
>
> http://feather.perl6.nl/syn/S02.html#Sigils
>
> http://perlcabal.org/syn/Differences.html#Sigils
>
> Note that the sigil for fetching a single element has changed from
> $ to @; perhaps a better way to think of it is that the sigil of a
> variable is now a part of its name, so it never changes in
> subscripting. This also applies to hashes.
>
> So the situation is not quite as you put it.
Eh ... sorry, but it is exactly as he puts it: The original idea that
$ is roughly the same as a 'singular article' while @ is a plural one,
has been replaced by the more 'conventional' ('conventional' here
supposed to mean 'more like what other language designers also did'
and absolutely not 'conventional' as 'what people usually do' since
'people' usually don't) concept that namespaces of differently-typed
variables are separate (I don't really have an opinion in favor of one
versus the other approach[*]).
[*] OTOH, Perl6 is about throwing away the baby (who would want an
ugly kid like that, anyway) while trying to keep the bathwater (can't
OUR [ugly] kid become just as popular with the help of something like
'also deemed to be useful by superficial association'?).