Help for this page

Select Code to Download


  1. or download this
    my @a = [ 1, 4, 9, 16 ];  # squares
    
  2. or download this
    my @a = ( 1, 4,  9, 16 );  # squares
    my @b = ( 1, 8, 27, 64 );  # cubes
    my @c = ( \@a, \@b );      # two arrays