I can't seem to reproduce your problem with perl 5.10.0 in a 32 bits chroot on my x86_64 computer. I'm using PDF::API2 2.015 as well.
Your code runs just fine (although it dies on line 23 because the savepage call never returns true according to the source). However, the resulting PDF files seem to be corrupted.
Update: There is also CAM::PDF out there. If you're stuck with one, you could give a try to the other...
In reply to Re: PDF::API2 importpage problem
by waba
in thread PDF::API2 importpage problem
by leocharre
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |