Reputation: 999
I've tried to get an IDE for Perl 5 but with just while line
print "8";
it cycles many minutes and does nothing after all.
Upvotes: 1
Views: 1177
Reputation: 40748
I tested this on Windows 10. First I installed the community edition of IntelliJ IDEA on Windows from here. Then I opened the IDE and installed the Perl plugin as described here :
Then configured the plugin by going to Settings->Languages & Frameworks->Perl5
:
Click the cogwheel at the right side of Perl5 Interpreter
and select your installed Perl exe (I am using Strawberry Perl):
Close the settings dialog and choose File->New project..
and select Perl5 from the list:
click Next
and then choose the Perl interpreter to use:
Choose a project name and its location:
Click the name of the project in the project view at the left side of the window, and choose File->New->Perl5 file
. Type in the name of the script, and choose Script
from the list :
Type in the hello.pl
script in the editor:
Select Run->Run..
from the menu, and click Add new..
configuration:
In the dialog enter a new name for the run configuration, and enter the location of the script:
Then click Run
and you should get output like this:
Upvotes: 6