Help for this page

Select Code to Download


  1. or download this
    my @out = map { my $s = $_; $s =~ s/-//; $s } @in;
    
  2. or download this
    my @out = @in;
    s/-// for @out;
    
  3. or download this
    use List::MoreUtils qw( apply );
    my @out = apply { s/-// } @in;