Date: | Mon, 4 Mar 2002 07:43:05 +0000 (GMT) |
From: | Matt Sergeant <matt [...] sergeant.org> |
To: | <bug-PDFLib [...] rt.cpan.org> |
Subject: | PDFLib docs (fwd) |
--
<!-- Matt -->
<:->Get a smart net</:->
Show quoted text
---------- Forwarded message ----------
Date: Sun, 3 Mar 2002 19:06:09 -0800 (PST)
From: Ask Bjoern Hansen <ask@develooper.com>
To: Matt Sergeant <matt@sergeant.org>
Subject: PDFLib docs
It would be less confusing if the synopsis had it right,
SYNOPSIS
use PDFLib;
my $pdf = PDFLib->new("foo.pdf");
DESCRIPTION
A cleaner API than pdflib_pl.pm, which is a very low-level
(non-OO) interface.
PDFLib API
new(...)
Construct a new PDF object. No parameters required.
Parameters are passed as name/value pairs (i.e. a hash):
filename
A filename to save the PDF to. If not supplied the PDF
will be generated in memory.
[...]
(as in $pdf = PDFLib->new(filename => "foo.pdf");
:-)
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();