in reply to Catching errors.
Where are you trying to catch these errors? In your application or in the OS?
If your application is throwing 'missing perl function errors' then that suggests that you are not testing your code sufficiently. I think you should investigate test driven development, unit tests and other automated tools to help you improve your code quality.
Are you really compiling code on user machines? This is always going to be difficult, managing the dependencies is non trivial -- but more testing will help.