in reply to Re^4: Combining calls to a subroutine issue.
in thread Combining calls to a subroutine issue.

What do you think?

I think that if you are still having trouble figuring this out on your own, and you want to get help from perlmonks, you should:

  1. Sign up for an actual user account, so that communication with other monks is easier and more efficient.
  2. Create a simple, small example / test case, including both some minimal amount of sample input data, and only as much perl code as needed to demonstrate what you are trying to do with the data.
  3. Post that code and data to a new "SoPW" thread, showing both the actual script output, and the desired script output, so we can see the difference.

The example / test case data and code should be fully self-contained, which means that the code should be runnable on its own with the given data, so that other monks can try it out for themselves if they feel like it.

And as I said previously: break the problems down and separate them into different subs and/or modules that focus on particular parts of the problem; that will help you organize your thoughts.

Good luck.

  • Comment on Re^5: Combining calls to a subroutine issue.