Code snippets of Perl & Go