fork download
  1. my $value = "a b c d e f";
  2.  
  3. $value =~ s/\b(\S)\b/hoge/g;
  4.  
  5. print $value, "\n";
  6.  
Success #stdin #stdout 0s 4552KB
stdin
Standard input is empty
stdout
hoge hoge hoge hoge hoge hoge