Have been passing the time on my train trip up to Edinburgh with some Perl Golf. Two solutions for two problems. Any tips? https://t.co/JuH1U2aDRu