fork(2) download
  1. #!/usr/bin/perl
  2.  
  3. my @list = qw(helloWorld JohnDoe);
  4. for (@list) {
  5. s/(?<!^)(?=[A-Z])/ /g;
  6. print $_ . $/;
  7. }
Success #stdin #stdout 0s 6000KB
stdin
Standard input is empty
stdout
hello World
John Doe