PDF::API2::Basic::PDF::Array(3pm)

PDF::API2::Basic::PDF::Array3pm

Low-level pdf array object

Methods

PDF::Array->new($parent, @values)

Creates an array with the given storage parent and an optional list of values to initialise the array with.

$a->outobjdeep($fh, $pdf)

Outputs an array as a PDF array to the given filehandle.

$a->elements()

Returns the contents of the array.

$a->add_elements(@elements)

Appends the given elements to the array. An element is only added if it is defined.

$a->remove_element($element)

Removes all occurrences of an element from an array.

$a->val()

Returns a reference to the contents of the array.

$a->copy($pdf)

Copies the array with deep-copy on elements which are not full PDF objects with respect to a particular $pdf output context

Releases

11 releases since Debian 3.1 (Sarge); the text changed 10 times.

  1. 3.1
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11
  9. 12
  10. 13
  11. Arch

From perl-pdf-api2 2.048-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.