It was copied from Perl6, I believe. In any case, there's nothing wrong with taking good ideas from other languages and modules. And Perl has a long history of doing so. Just look at Perl's origins (awk and sed) and all the modules that are now part of Perl.