usev5.30;usefeature'signatures';subreverse_words($S) {returnjoin" ",reversesplit" ",$S;}## mainmy@examples=("The Weekly Challenge"," Perl and Raku are part of the same family ","join reverse split \$S",);formy$S(@examples){say"Input: $S";say"Output: ".reverse_words($S);}