in reply to Am I on the right track?

Hi Pharazon,

I can't really comment at all on the way you use of the PDF modules you are using, I don't know them.

But, overall, I find your Perl code well written, well structured, clean and sensible, sometimes even idiomatic, usually in agreement with the coding good practices generally accepted by the Perl Community.

The only thing that I am wondering about, but this may be my lack of knowledge of the PDF modules, is that you don't seem to worry about error checking when you open a new PDF file or do other similar OS operations. Again, I don't know these modules, but I would tend to think that you probably need to check if you failed to open a file and to do something about it if such is the case.

So, to me, yes, you are on the right track, with the possible exception of error checking.

Replies are listed 'Best First'.
Re^2: Am I on the right track?
by Pharazon (Acolyte) on Jul 07, 2015 at 20:14 UTC

    I will likely need to add in some amount of error checking, though it should end up being fairly light because the environment that this will run in is highly controlled so things shouldn't go to crazy. As of right now I fully control the test environment and had been focusing on performance but I added a reminder to take time after performance to flesh out error checking before moving on.

    Thank you for the feedback on the code itself as well. The language is nice and seems very strong, but it writes much differently than I'm used to so I'm glad that I'm getting that part fairly correct.