Help for this page

Select Code to Download


  1. or download this
    use Apache::Tika;
    
    ...
    
    my $text = $tika->tika($pdf);
    print "$text\n";
    
  2. or download this
    use Apache::Tika::Async;
     
    ...
    use Data::Dumper;
    print Dumper $tika->get_meta($fn);
    print Dumper $tika->get_text($fn);
    
  3. or download this
    use Data::Dumper;
    use Apache::Tika::Server;
    ...
    
    my $fn = "x.pdf";
    print Dumper $tika->get_text($fn);