What does your perl script do ? and what does it expect about the environment when it runs ?
Primarily, it gets volume group/logical volume info and LUN ids for SAN storage:
I was thinking it was related to the RSCD version, but after more testing that doesn't appear to be the case.
Some servers work fine, others give the error above. The perl script runs fine from the command line.
So put some debugging output into your script so you can figure out exactly why it’s failing.