Challenge 65 #2

Run Settings
LanguageRaku
Language Version
Run Command
sub palindromes($s) { ($s ~~ m:g/(.+).?<{$0.flip}>/)>>.Str || -1 } say palindromes "aabaab"; say palindromes "abbaba"; say palindromes "abcba"; say palindromes "abc";
Editor Settings
Theme
Key bindings
Full width
Lines