http://qs321.pair.com?node_id=11118257


in reply to can regex contains function?

> can regex contains function?

Yes, it can. That's what /e is for.

$t =~ s/(?<=\s)(.)/uc $1/ge;

But you don't need it here:

$t =~ s/(?<=\s)(.)/\U$1/g;

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]