Help for this page

Select Code to Download


  1. or download this
    sub alter {   
       my @newlist;
    ...
       }
       @newlist;
    }
    
  2. or download this
    sub alter {   
        grep $_, map { uc is_name($_) } @_;
    }
    
  3. or download this
    sub alter(*@a) {
       gather for @a {
    ...
           take uc $name if $name;
       }
    }
    
  4. or download this
    sub alter(*@a) {
       gather for @a.map({ is_name($_)}) {
           take .uc if $_;
       }
    }