Subject: | Allow a handle to be provided instead of a file name. |
Hi,
Right now, we read back into memory the PDF created by your module. It
would be nice if we could avoid that.
Your module can already handle arbitrary Perl file handles, so all that
would be needed would be to accept Perl file handles as an alternative
to a file name.
open(my $fh, '>', \my $pdf);
prFile($fh);
...
prEnd();
close($fh);
... do something with $pdf ...