Re: proposed addition to perlvar

[email protected] (David Golden)
Newsgroups perl.perl5.porters
Message-ID <[email protected]>
On Wed, Jun 9, 2010 at 11:51 AM, Chas. Owens <[email protected]> wrote:
> C<$#> is also used as sigil, which, when prepended on the name of an
> array gives the index of the last element in that array.

I thought it was sufficiently clear, so that's how it got applied.
Plus, you refer people to the proper perldoc sections.  That's easily
enough for people to avoid getting tripped up.

The section is titled "Names that are no longer special" for ultra
clarity after a brief conversation on #p5p and has explanatory text.
So it doesn't imply that the "$#" is deprecated as a sigil.

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.