loading...

Discussion on: Daily Challenge #22 - Simple Pig Latin

Collapse
choroba profile image
E. Choroba

No need to split and join:

say '"Pig" latin is cool' =~ s/(\w)(\w+)/$2$1ay/gr;
Collapse
yzhernand profile image
Yozen Hernandez

Of course. Thanks!