Subject: | PAR and DBI |
Date: | Mon, 2 Oct 2006 12:04:29 -0400 |
To: | <bug-PAR [...] rt.cpan.org.> |
From: | "William Chartrand" <wchartrand [...] rim.com> |
I've experienced a bug with PAR 0.954 (not present in 0.952).
If a perl progam using DBI is turned into a par executable, then the
resulting executable starts spinning and using up lots of CPU at the end
of execution.
$ echo '#!/usr/bin/perl
Show quoted text
> use DBI;
Show quoted text> print "Hello World\n"' > test.pl
$ chmod +x test.pl
$ time ./test.pl
Hello World
$ pp -o test.exe test.pl
$ ./test.exe
Hello World
And then it hangs for a long time chewing up cpu.
OS is Ubuntu 6.06.1 LTS, but I've also verified it on another linux
system.
Will
---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.