I had to retype it because my code is not easily available to copy/paste into perlmonks.
Reduce your code to a MINIMAL example that still shows the problem. Usually, this will take something between 10 and 30 lines that can easily be posted here. Copy-and-paste the working example, don't introduce new errors by retyping.
How to reduce, method 1: Strip off all code that is not relevant to the problem. Remove all modules and functions not related to the problem. Replace irrelevant calulations with fixed values. Replace confidential data with harmless made-up data.
How to reduce, method 2: Start with a hello-world script or the synopsis from the documentation. Add the bare minimum required to exhibit the problem, copied from your main project. You will likely need to copy only a few lines.
Alexander
--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
|