Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Example Of Using CAM::PDF Like HTML::TokeParser

by Khen1950fx (Canon)
on Oct 12, 2011 at 06:36 UTC ( #930915=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    #!/usr/bin/perl 
    ...
    my $gs  = $contentTree->computeGS;
    print Dumper($gs):
    close STDOUT;
    
  2. or download this
    perl gscript.pl /path/to/pdf
    
  3. or download this
    #!/usr/bin/perl -w
    
    ...
    my $p = HTML::Parser->new( api_version => 3 );
    $p->handler( default => \&h, "event, line, column, text, tagname, attr
    +" );
    $p->parse_file( @ARGV ? shift : *STDIN );
    
  4. or download this
    perl hdump /path/to/gs.log
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://930915]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2021-12-05 08:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (31 votes). Check out past polls.

    Notices?