in reply to Interpolation inside regex
print map { qq{@{ [ join q{ }, map { ucfirst } @$_ ] }\n} } map { [ split m{_} ] } @names; [download]
I hope this is of use.
Cheers,
JohnGG