develooper Front page | perl.perl5.porters | Postings from June 2010

Proposed patch to perlvar.pod

Thread Next
From:
A. Sinan Unur
Date:
June 9, 2010 00:49
Subject:
Proposed patch to perlvar.pod
Message ID:
AANLkTimXhsaKI66uuDNyh5Zf0tD6zdIQk--GyJe8SwPl@mail.gmail.com
Hello:

There was recent discussion on Stackoverflow.com regarding where to
find documentation for $# (see
http://stackoverflow.com/questions/2997042/ ). The poster was actually
looking for information regarding the $#ary to get the last index of
@ary. He expected the documentation to be in perlvar.pod when it
actually is in perldata.pod.

Given that the builtin variable $# was removed with 5.10.0, there no
longer is an entry in perlvar.pod for $#. The attached patch inserts
an entry into perlvar.pod for $# which points out that $# no longer
exists and the user should consult perldata.pod for the $#ary usage.

The patch file was generated on a Windows system from blead. I am
afraid permissions may have been messed up.

Thank you for your attention.

Sinan
-- 
A. Sinan Unur
http://www.unur.com/sinan/

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About