Help for this page

Select Code to Download


  1. or download this
    my @temp = (...);
    my @a = map {/a_(.*)/ ? $1 : ()} @temp;
    my @b = map {/b_(.*)/ ? $1 : ()} @temp;
    
  2. or download this
    my @a = map {/a_(.*)/; $1} grep /a_/ @temp;
    my @b = map {/b_(.*)/; $1} grep /b_/ @temp;