There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

NAME

PDF::API2::Resource::XObject - Base class for external objects

METHODS

$xobject = PDF::API2::Resource::XObject->new($pdf, $name)

Creates an XObject resource.

$type = $xobject->subtype($type)

Get or set the Subtype of the XObject resource.