Help for this page

Select Code to Download


  1. or download this
        ...
        my @separated = map { split(' ', $_, 2) } @somearray;
        @separated    = map { uc $_ }             @separated;
        return @separated;
    }
    
  2. or download this
        ...
        return map{ split / /, uc, 2 } @somearray;
    }