in reply to Checking Perl script on server

The Devel:: family of modules can also help to determine whats going on in the code itself and where the program is spending the majority of its time. This can lead to refactoring for different goals (I.e from readability -> performance oriented) in the critical sections

use perl;