title: How can I get the page orientation of a PDF page?
body: <p>The function getPageDimensions (of CAM::PDF) returns same values for both portrait and landscape pages.
  How can I identify the orientation of a PDF page?
  I am using CAM::PDF Perl library and would like to know how to do this using this library.
  But any other means to identify this is also welcome (preferably using a Perl lib).</p>
  
  <p>Thanks.</p>