Any update on the status of this bug?
On Thu, Jun 3, 2010 at 10:57 PM, Bugs in PDF-API2-Simple via RT
<bug-PDF-API2-Simple@rt.cpan.org> wrote:
Show quoted text>
> Greetings,
>
> This message has been automatically generated in response to the
> creation of a trouble ticket regarding:
> "PDF::API2::Simple does not close the output file",
> a summary of which appears below.
>
> There is no need to reply to this message right now. Your ticket has been
> assigned an ID of [rt.cpan.org #58106]. Your ticket is accessible
> on the web at:
>
>
https://rt.cpan.org/Ticket/Display.html?id=58106
>
> Please include the string:
>
> [rt.cpan.org #58106]
>
> in the subject line of all future correspondence about this issue. To do so,
> you may reply to this message.
>
> Thank you,
> bug-PDF-API2-Simple@rt.cpan.org
>
> -------------------------------------------------------------------------
> OS: XP Pro SP3
> Perl: Strawberry 5.12.0.1
>
> The save method ends thus:
>
> $self->{'_pdf'}->saveas( $self->file );
>
> whereas it should (I think) have another line like this:
>
> $self->{'_pdf'}->close_file;
>
> On *nix platforms this does not seem to cause a problem, however, on
> Win32 a subsequent attempt to unlink the file will result in a failure
> of "Permission Denied." It turns out that Windows realizes the file was
> never closed and thus denies permission (which is probably the sane
> thing to do in the case that the file was really still open).
>