in reply to Adding XMP metadata in a pdf

https://metacpan.org/pod/PDF::API2 shows how to open an existing pdf file and further down the page many metadata methods are documented.

I have no idea what "set Initial view in the existing pdf" means?

please show some actual code even if it doesn't work.