Help for this page

Select Code to Download


  1. or download this
    my @subArray = grep {/^x/} @foo;
    
  2. or download this
    my @firstLetters = map {substr $_, 0, 1} @foo;
    
  3. or download this
    my @asLetters = map {[split '']} @foo;