Im my experience, beta 1.2 is not executing the END {}
function when a program exits.  I placed code in my END {}
function to close ODBC data source connections.  I found
that my program won't terminate with the data source 
connection still open, which lead me to conclude that END {}
was not executing.  So I made a test. I placed a MessageBox
in my END {} function to be the first thing that executes. When
I ended my program, it never came up, so I am pretty well 
convinced that END {} is not executing.  

What is really strange is that when I execute the PerlApp.pl
command line:

  perl -S PerlApp.pl -s=myapp.pl -e=myapp.exe -f -v -g -a=Win32::GUI;Win32::ODBC

The message box in the END {} code pops up just like the script was being ran
and the END {} function was executing.  Isn't that weird stuff!

SOMETHING NICE...
about beta 1.2 is that the -g option allows you to make your application a non-console
application.

Regards,
Eric Hansen


Reply via email to