Just put on GitHub repository with a library of several algorithms implemented in #Perl https://github.com/polettix/cglib-perl - optimized for copy-pasting while solving puzzles in #CodingGame https://www.codingame.com - comments welcome!