Hey Thanks for the reply but, That will give the size of media/page not the margin of text present on the pdf page.
The author of CAM::PDF answered the question how to move page to the right, by manipulating mediabox -- thats like increasing the margin -- so it is the margin of the page