comparison between perl and python