I have an application that uses PDF::API2 (amogst other things to display jpg images) and PDF::TextBlock which has been running without problems on perl5.10.1. However I've just (foolishly, probably) upgraded my server and perl to v5.22.0.
I've installed the relevant modules but I'm getting some really weird behaviour. Sometimes the pdf document will print with data and image but as often as not it just prints the initial blank pdf page (which I load from a base pdf doc).
After exhaustive testing it would seem that $pdf->image_jpeg is one culprit the other being the TextBlock ->apply method.
As far as I'm aware the problem areas work fine in another similar program and sometimes in this one.
What's going on and does anyone have any idea how to fix it?