The documentation explains it: perldata ... search for $#

Let see what all explain it [perldoc://"$#"] "$#" -> perlref   $aref->$#*; # same as $#{ $aref }

Wow, what a horrible search engine, that it five pages of results

 [ddg://"$#" site:perldoc.perl.org] "$#" site:perldoc.perl.org -> more of same nonsense, wow

hello http://grep.cpan.me/?q=\%24%23\w%2B+dist%3Aperl+ ->

The Perl equivalent for this is C<$#myarray>. Set the highest index in the array to the given number, equivalent to Perl's C<$#array = $fill;>. RJ

hello http://grep.cpan.me/?q=\%24%23\w%2B%20dist%3Aperl%20+dist=perl

trigger for I<container magics>, i.e. it will for C<%ENV> or C<%SIG> but not for C<$#array>. perl-5.22.0/pod/perldata.pod $days{'Feb'} # the 'Feb' value from hash %days $#days # the last index of array @days The length of an array is a scalar value. You may find the length of array @days by evaluating C<$#days>, as in B<csh>. However, this isn't the length of the array; it's the subscript of the last elemen which is a different value since there is ordinarily a 0th element. Assigning to C<$#days> actually changes the length of the array. Shortening an array this way destroys intervening values

hello http://search.cpan.org/grep?cpanid=RJBS&release=perl-5.22.0&string=\%24%23&i=1&n=1&C=0#pod/perldata.pod

pod/perldata.pod 53: $#days # the last index of array @days 357:of array @days by evaluating C<$#days>, as in B<csh>. However, th +is 360:Assigning to C<$#days> actually changes the length of the array. 364:X<$#> X<array, length> 373: $#whatever = -1; 382: scalar(@whatever) == $#whatever + 1;

In reply to Re^2: strange syntax (more ways to search for and find docs, grep.cpan.me) by Anonymous Monk
in thread strange syntax by grasshopper!!!

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.