[Catalyst] Opening existing PDF with Catalyst::View::PDF::API2
awitney at sgul.ac.uk
Sun Oct 12 11:56:47 GMT 2014
I am trying to use Catalyst::View::PDF::API2 to open an existing PDF, modify it and then send it to the user. Looking at the documentation, it says that you can reuse existing PDF's but it doesn't show how to do it. I have tried this in the template
[% page = pdf.open('my.pdf') %]
But this gives the error:
undef error - Attempt to bless into a reference at /opt/perlbrew/perls/perl-5.14.1/lib/site_perl/5.14.1/PDF/API2.pm line 188.
Has anyone managed to get this to work? Or does anyone know what this error means?
Thanks for any help
More information about the Catalyst