Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    
    print "elem 5: $a[$#a]\n"; # same as $a[-1] or $a[5]
    
  2. or download this
    5
    
    ...
    4
    5
    elem 5: 5