I assume no need to import submodule Outline, It did not complain.
I test according to Outline doc, 'https://metacpan.org/pod/PDF::API2::Outline', but It do not run as it says. I just need a basic script which is able to delete all existing bookmarks or simply overwrite and add bookmarks with childs.