NAME
PDF - Library for PDF manipulation in Perl
SYNOPSIS
use PDF;
$pdf=new ;
$pdf=new(filename);
$result=$pdf->TargetFile( filename );
Description
The main purpose of the PDF library is to provide classes and functions that allow to read and manipulate PDF files with perl. PDF stands for Portable Document Format and is a format proposed by Adobe. For more details abour PDF, refer to:
http://www.adobe.com/
The library is at is very beginning of development. The main idea is to provide some "basic" modules for access the information contained in a PDF file. Even if at this moment only the constructor is available, the two little scripts provided with the library ( is_pdf and pdf_version ) show that it is usable.
The first script test a list of files in order divide the PDF file from the non PDF using the info provided by the files themselves. It doesn't use the .pdf extension, it uses the information contained in the file.
The second returns the PDF level used for writing a file.
Constructor
- new ( [ filename ] )
-
This is the constructor of a new PDF object. If the filename is missing, it returns an empty PDF descriptor ( can be filled with $pdf->TargetFile). Otherwise, It acts as the TargetFile method.
Methods
The only available method ( at the moment ) is :
Variables
There are 2 variables that can be accessed:
- $PDF::Version
-
Contain the version of the library installed
- Verbose
-
This variable is false by default. Change the value if you want more verbose output messages from library
Copyright
Copyright 1998, Antonio Rosella antro@technologist.com
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Availability
The latest version of this library is likely to be available from:
http://www.geocities.com/CapeCanaveral/Hangar/4794/
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 160:
=back doesn't take any parameters, but you said =back 4