Think its time to tweak the New server
if a perl script runs faster on 1 server then the other there isnt much you can do to the code to make it faster.
Using strict & warnings and making the script not produce any warnings or errors can speed up the script a little more, but its most likely not going to make up for server lag or a 2 sec time loss...