Help for this page

Select Code to Download


  1. or download this
    
    The Perl equivalent for this is C<$#myarray>.
    ...
    Perl's C<$#array = $fill;>.
    
    RJ
    
  2. or download this
    
    trigger for I<container magics>, i.e. it will for C<%ENV> or C<%SIG>
    ...
    Assigning to C<$#days> actually changes the length of the array.
    Shortening an array this way destroys intervening values
    
  3. or download this
    pod/perldata.pod
    
    ...
    364:X<$#> X<array, length>
    373:    $#whatever = -1;
    382:    scalar(@whatever) == $#whatever + 1;