Added code snippets for python, perl.