in reply to disabling unnecessary perl modules
I haven't read through that script, but you can see what modules are loaded by looking at %INC. Stick something like this in a convenient place: