difference in behavior between script and perlapp exe
by Allan Clarke other posts by this author
Jun 8 2009 12:52PM messages near this date
PerlApp cross-platform target support not working with ActivePerl 826/1005
|
RE: difference in behavior between script and perlapp exe
Greetings!
I have just started trying to figure out a difference in behavior
between my script and a PerlApp-generated version of my script. Both act
fine for the normal flow of my application. However, I am testing some
error handling logic.
When I run my script, I get an expected error message that is specific
to my application. When I run the executable, I get an error message
right at the line of failure, like this
500 Internal Server Error at /PerlApp/myfile.pl line 113
In script mode, I have error logic that executes after line 113 and
correctly reports various error conditions. As an executable, I always
get this same error message; obviously this is going to be a royal pain
to my users.
Its acting like something else is catching the error first rather than
letting it propogate to where I can handle it. I have put an eval {}
around the failure and I can catch it but I have no access to any
refined error state.
Question: how do I begin to debug the problem, given that it is in the
PerlApp executable?
Notes:
1. My application is using SOAP::Lite to connect to a service that
I wrote.
2. I am running on Windows XP SP3
3. My version of Perl is 5.8.8 build 822
4. My version of PerlApp is 6.0.2 build 203380 (perl 5.8.3)
Many Thanks!
Allan
Thread:
Allan Clarke
Allan Clarke
Allan Clarke
|