Show quoted text > you can only import a page that has 'content'...[so] the import
operation is not supported and entirely unreasonable.
Perhaps that should be mentioned in the docs as I can see leaving a page
intentionally blank.
Anyhoo, here's one with content that also fails, however uncommenting
the saveas() & open() works around the issue.
use PDF::API2;
$pdf1 = PDF::API2->new;
$t = $pdf1->page->text;
$t->font( $pdf1->corefont('Times-Roman'), 10 );
$t->translate( 20, 20 );
$t->text( $pdf1->pages );
#$pdf1->saveas( "foo.pdf" );
#$pdf1 = PDF::API2->open( "foo.pdf" );
PDF::API2->new->importpage( $pdf1, 1 );