Skip to content

[doc] Steer users trying to find $# documentation #21682

@jidanni

Description

@jidanni

perlvar says

  $#      $# was a variable that could be used to format printed numbers.
          After  a  deprecation  cycle,  its  magic  was  removed in Perl
          v5.10.0 and using it now triggers a warning: "$# is  no  longer
          supported".

          This  is not the sigil you use in front of an array name to get
          the last index, like $#array.  That's still  how  you  get  the
          last  index  of  an  array in Perl **(see perldata?)**. The two have nothing to do
          with each other.

Please add the starred stuff I inserted. I am just guessing what should be added.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions