in reply to PDF page numbering
The following URL may help
Also check the similar kind of post in perlmonks
Your Attempt May Fail, But Never Fail To Make An Attempt