Is that correct that IDE should:

Let's discuss. Purpose of this question is to submit it to (some) Perl IDE/editor maintainers as feature request/bug report (well, I am going to submit it only to one, my favourite IDE, but you can do it for your IDE/editor)

Replies are listed 'Best First'.
Re: How good IDE should syntax-check perl code?
by LanX (Saint) on Mar 10, 2016 at 11:57 UTC
    FWIW in emacs calling this regularly from the background is called flymake-mode . (I know that Komodo has support for this too)

    Maybe you'll find more discussions by googling this.

    I'm not aware of applying perl -MModule -ce0 there, but customization shouldn't be a problem.

    (I tend to use a modulino approach to run many more tests from the background, but that's another discussion.)

    Please note that your thread's title is confusing, many will think about the syntax check that highlighter and auto-intendation are doing for you.

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

      Please note that your thread's title is confusing, many will think about the syntax check that highlighter and auto-intendation are doing for you.
      Strange.. it's "syntax check" even in perldoc perlrun, googling "perl syntax check" returns relevant results.
        Yeah maybe, but we are talking about IDEs right, they do many types of checks.

        My idea after reading the title was not perl -c which is to be honest compilation check only, since runtime errors aren't caught.

        At least I was confused ...

        Cheers Rolf
        (addicted to the Perl Programming Language and ☆☆☆☆ :)
        Je suis Charlie!

Re: How good IDE should syntax-check ( compile with perl -c ) perl code?
by Anonymous Monk on Mar 10, 2016 at 14:29 UTC
    IIRC in EPIC (http://www.epic-ide.org) for Eclipse this is customizable, and it can integrate Perl::Critic too.
Re: How good IDE should syntax-check perl code?
by Anonymous Monk on Mar 10, 2016 at 10:53 UTC

    Anything that calls it self an "IDE" already does this

      no, it seems mine one checks scripts with perl -wc script.pl and modules with perl -wc Module.pm