Help for this page

Select Code to Download


  1. or download this
    my @array = ('a'..'z');
    my @slice = @array[4..13];
    
  2. or download this
    my @keys = qw(foo bar baz);
    my @values = qw(one two three);
    ...
              'baz' => 'three',
              'bar' => 'two'
            };