ssimms / pdfapi2

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

Fix issue 75. #85

Open sciurius opened 4 months ago

sciurius commented 4 months 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.