Help for this page

Select Code to Download


  1. or download this
    my @array = qw(one two three four five);
    
    print "@array[2,3]\n";
    # prints three four
    
  2. or download this
    my %hash = (
       1 => 'one',
    ...
    
    print "@hash{'2', '3'}\n";
    # prints two three