title: Error while reading text out of a pdf using perl api pdf::api2
body: <p>This is the code to read text of a pdf using perl</p>
  
  <pre><code>#!/usr/bin/perl
  
  use PDF::API2;
  
      $pdf = PDF::API2-&gt;new;
      $pdf = PDF::API2-&gt;open('01443325.pdf');
      $page = $pdf-&gt;page;
      $pagenum=10;
      $pdf-&gt;stringify;
  
      $page = $pdf-&gt;openpage($pagenum);
  
      print $page;
  </code></pre>
  
  <p>I dont get any output when i Run this code . How to remove the error ?</p>