Hello awwaiid,
Yes, you are correct. I performed the step you told and following are the result:
Stack output when the script is run normally
Dumping stacktrace! at C:\Users\VPS3159Admin\Desktop\New folder\checkl
+ist.pl line 897
Dumping stacktrace! at C:\Users\VPS3159Admin\Desktop\New folder\checkl
+ist.pl line 899 Subroutine Wx::App::OnInit redefined at C:\Users\VPS3
+159Admin\Desktop\New folder
\checklist.pl line 903.
Stack output when from exe
Dumping stacktrace! at script/checklist.pl line 897
require main called at C:/strawberry/perl/vendor/lib/PAR.pm li
+ne 636
PAR::_run_member('Archive::Zip::ZipFileMember=HASH(0x329f3bc)'
+, 1) cad at script/main.pl line 26 require main called at C:/s
+trawberry/perl/vendor/lib/PAR.pm line 636
PAR::_run_member('Archive::Zip::ZipFileMember=HASH(0x329f58c)'
+) callet C:/strawberry/perl/vendor/lib/PAR.pm line 428
PAR::import('PAR') called at -e line 953
eval {...} called at -e line 209
__par_pl::BEGIN() called at script/checklist.pl line 0
eval {...} called at script/checklist.pl line 0
Dumping stacktrace! at script/checklist.pl line 899
require main called at C:/strawberry/perl/vendor/lib/PAR.pm li
+ne 636
PAR::_run_member('Archive::Zip::ZipFileMember=HASH(0x329f3bc)'
+, 1) ca
d at script/main.pl line 26
require main called at C:/strawberry/perl/vendor/lib/PAR.pm li
+ne 636
PAR::_run_member('Archive::Zip::ZipFileMember=HASH(0x329f58c)'
+) callet C:/strawberry/perl/vendor/lib/PAR.pm line 428
PAR::import('PAR') called at -e line 953
eval {...} called at -e line 209
__par_pl::BEGIN() called at script/checklist.pl line 0
eval {...} called at script/checklist.pl line 0
When the script is run normally there is no caller, but when then the exe is executed main.pl calls my main program
Thank you for your valuable input
I am still debugging my second issue and will update here if I am able to fix it
"Experience is the child of thought, and thought is the child of action."
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.