Help for this page

Select Code to Download


  1. or download this
    my %vals=( 1 => '0', 2 => '3', 3 => '5');
    my @arr = ( 0,1,2,3,4,5,6 );
    ...
    }
    
    print join (',', @res );
    
  2. or download this
    print join (',', @arr[@res] );
    
  3. or download this
      push @res, $vals{ $key };