Any tips for Perl? I see the shortest solution has 26 characters. I imagine one needs at least two "<>"s, a "print" and a "split/ /", which gives 17 characters, leaving only 9 for the rest of the solution? This seems incredible. I wonder what I'm doing wrong
The "split/ /" could perhaps be changed for some smart regex, but I really can't see how
"say" doesn't shorten the print much as it only works as CORE::say or with a "use v5.10" line, all of which make it longer if you don't print the trailing "\n" (which you don't have to in this puzzle)...
Learning how to shorten these things would help me a lot when solving other puzzles so any feedback would be greatly appreciated