[EMAIL PROTECTED] schrieb:
Creating an exe-file from a perl-script using the dbi-module forces the
exe-file to hang at the end.
For testing purposes i have created following simple script:
#!/programme/perl/bin/perl.exe -w
use DBI;
print "Test\n";
I am using the following versions:
- perl v5.8.8 build 819
- PAR-0.972
- DBI 1.53
- AutoLoader 5.63
Did anybody else encounter a similar problem?
Any hints how to solve the problem?
This is a known problem, but I thought I'd have fixed it with the
AutoLoader 5.63 / PAR 0.972 pair.
First thing: Make sure AutoLoader 5.63 is *really* the one that's
loaded. For odd reasons, an older copy might be picked up. Before you
just check its version with perl -MAutoLoader..., I'd suggest you
actually search your hard drive for AutoLoader.pm. Delete (rename?) any
pre-5.63 copies you might have. Then retest. If it works, perl was
picking up the old AutoLoader.
Otherwise:
Could you edit DBI.pm and add the following line of code?
sub DESTROY {}
Don't keep it in even if it works. That'd just suppress the symptoms. If
it works, that'd be another pointer at AutoLoader and would probably
mean that the fix in 5.63 didn't work well. If that helps, please tell
me so we can find a better solution.
Steffen