Help for this page

Select Code to Download


  1. or download this
    my $chosen_day = "April  1, 2009";
    $chosen_day =~ s/\s\s/ /;
    
  2. or download this
    # Parenthesized assignment is bound to the substitution
    (my $c = "April  1, 2009") =~          s/\s\s/ /;