Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Interllij IDEA PERL5 sdk is not configured

I have perl plugin installed in IDEA, and I have MinGW64 installed in Windows 7. In MinGW64 I can see perl -V:

Summary of my perl5 (revision 5 version 22 subversion 1) configuration
...

  @INC:
    /usr/lib/perl5/site_perl
    /usr/share/perl5/site_perl
    /usr/lib/perl5/vendor_perl
    /usr/share/perl5/vendor_perl
    /usr/lib/perl5/core_perl
    /usr/share/perl5/core_perl
    .

But in Intellij IDEA Perl5 interpreter: Diable Perl5 support is the only option. I thought it should be a 2nd option for the plugin. Now I can only add it manually, but I am freshman in perl, I don't know which one is perl interpreter. I have expanded many folders(core, vendor, lib...), and still cannot find the one that IDEA thinks it is an interpreter.

like image 774
Tiina Avatar asked Sep 15 '25 09:09

Tiina


2 Answers

In front of the Perl Interpreter dropdown menu, you can see an options menu(Three dots vertically) from that you can add the Perl interpreter from your local machine.

enter image description here

like image 71
Sachindra Avatar answered Sep 18 '25 09:09

Sachindra


  1. You can install perl latest version.
  2. Click on configure perl SDK on IntelliJ.
  3. Click on 3 dot beside perl interpreter.
  4. You will have 3 option out of them select add perlbrew.
  5. Select the latest perl installation directory bin -> perlbrew.
  6. Local perlbrew should be setup.
like image 26
dipak patel Avatar answered Sep 18 '25 08:09

dipak patel