Help for this page

Select Code to Download


  1. or download this
    @arr = qw ( up down in out left right );  # 6 elements
    @sel = ( 1, 3, 4 );
    @my_items = Magic(@arr, @sel);
    
  2. or download this
    @my_items = @arr[ @sel ];