http://www.perlmonks.org?node_id=529738

gopalr has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

PDF File Contains Page No as follows:

162(1 of 7) 163(2 of 7) 164(3 of 7) 165(4 of 7) 166(5 of 7) 167(6 of 7) 168(7 of 7)

I can get the PDF page number (i.e. 1 to 7) by using CAM::PDF Module.

my $doc = CAM::PDF->new($file) || die "$CAM::PDF::errstr\n"; my $pages = $doc->numPages();

Please advice me that how to get the actual page number i.e. 162 to 168.

Thanks,
Gopal R.