Help for this page

Select Code to Download


  1. or download this
    use constant BASE => 101;
    $a[$i - BASE] = 'a';
    
  2. or download this
    print("The array has ", 0+@a, " elements\n");
    for (@a) {
        ...
    }
    
  3. or download this
    for my $i (101..200) {
        ... $a[$i - BASE] ...
    }