ssimms / pdfapi2

Create, modify, and examine PDF files in Perl
Other
15 stars 20 forks source link

Fix issue 75. #85

Open sciurius opened 1 month ago

sciurius commented 1 month ago

PDF::API2::default_page_size calls PDF::API2::default_page_boundaries, which calls PDF::API2::Page::boundaries.

Without arguments, the latter returns a hash, but it is called in scalar context (apparently expecting a hash ref).

This fix changes the call to list (hash) context.