in reply to Re^3: Insert Space between names
in thread Insert Space between names

Following the stealth update that is true. When I commented, the code was:

my $string = "JohnDoe"; $string =~ s/([A-Z])/ $1/g; print $string;

DWIM is Perl's answer to Gödel