Almost anything is possible in Perl, provided somebody has written a module to do it. You can get a listing of many of the available PDF modules by searching CPAN - there are currently 526 modules available - one is sure to get the job done.
Thanks for your reply.
Actually, i want to read where all the lines in a page, exact vertical
+ position of each line and put the line number straight opposite to t
+he lines on right side margin of the PDF.
Is it possible to read the line vertical position and make separate la
+yer equal to the maintext layer on the right side and insert incremen
+tal numbers?
Regards,
Srikrishnan