When I try to compile a perl script in Padre, it has no answer at all

I have a question about Padr. When I try to compile the hello perl script world, it has no answer at all. Padre is still working. And also, if you try to start the debugger, Padre will stop. I even reinstall Padre this several times, but still. Do you know how to solve this? Many thanks.

+4
source share
4 answers

Sometimes Padre has a problem starting a window to show the result.

Go to Tools → Settings → uncheck "Use an external window for execution"

also make sure that the bin you want to use is the first in the Path variable

+5
source

A similar problem would be the IDE Padre, which could load programs that were recognized by syntax highlighting as Perl, but Run / F5 did not run the script, and debugging would hit Padre.

A workaround was to remove Padre (the version was from http://padre.perlide.org/download.html ), install Strawberry Perl (http://strawberryperl.com/) version 5.14.2.1 (by default) and build Padre via cpan ("C:> cpan Padre" for http://padre.perlide.org/trac/wiki/DownloadCPAN ).

It works in Windows XP.

Another note: I had to manually fix the PATH environment variable, as with some installs and deletions, I had unnecessary directories and one truncated set of directories.

+1
source

Which Perl are you using (ActivePerl or DWIM)?

(There is a way to install Padre with Active Perl.)

When you go (without a debugger) "perl -v", what does it say?

0
source

It worked for me -

disable "Perl mode for beginners" in settings> Perl 5 language

If the IDE still crashes when you run the code, the best solution is to check "use external window" in the above window. Now Padre works great, collecting both simple hello world and hello gtk scripts.

0
source

Source: https://habr.com/ru/post/1396559/


All Articles