Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by Khen1950fx (Canon)
on Oct 12, 2011 at 06:36 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-19 06:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found