Are you able to compile and run a simpler script? Try with something like
print "Hello world!\n";
| [reply] [d/l] |
| [reply] |
I'm going to fundamentally say exactly what choroba and hippo said, but will use more words.
You have a lot of moving parts here, and so effective debugging says you should figure out how to test individual components. Consider the following:
- Can you run a simple one-liner on the command line? e.g., perl -E "say 'Hello'";
- Can you run your intended script in your IDE (presumably Komodo)?
- Can you run your intended script, uncompiled, on the command line? e.g., perl my_script.pl
- Can you compile a simple program with Perl Dev Kit and run it on the command line? e.g., print "Hello\n"; as the entire script.
- Can you run your intended script, uncompiled, on the command line in a different location? Changing paths might reveal a dependency issue you missed.
And a review of Basic debugging checklist would likely be helpful.
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
| [reply] [d/l] [select] |
| [reply] |
use strict;
use warnings;
print "Hello\n";
?
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
| [reply] [d/l] |
in perlapp gui, go to option 2 tab and select "display all warnings" and "verbose logging during run". then go to the output tab and make the executable. does it display anyting about anything missing or any warnings at all? | [reply] |