in reply to Re: Eclipse IDE with add on EPIC; Errors on the code
in thread Eclipse IDE with add on EPIC; Errors on the code

Hi. Thanks. There is so much information with this site. I think I am responding mainly to soonix and LanX.

What happens if you add another Newline before the "}"?

I tried this and the Line X (previous email) error went away but the Line X plus 300 still remained. I got curious about the other white space type of characters. Here is a presentation from the offending code/comment some of which I can remove, and have no errors from Eclipse (and EPIC).

; # print $result; } This is a ascii dump of the above (compliments of Notepad++) 3B0D0A0D0A09092320207072696E7420 24726573756C743B09090D0A097D The ascii characters 3B => ; 0D => CR 0A => LF 09 => Tab 23 => # 20 => space 70 => p 74 => t 7D => }

I found nothing suspicious with the above. Oddly there are 2 tabs after comment "print $result;"

Does the file compile with perl -c ?

Yes it does.

C:\u\Perl_Eclipse_IDE\OBD2_control>perl -c OBD2_control_test_02.pl OBD2_control_test_02.pl syntax OK C:\u\Perl_Eclipse_IDE\OBD2_control>

This seems to suggest my problems are an issue with Eclipse (and EPIC). I feel I am up for a learning curve with EMACs. It difficult to appreciate an editor having the function of an IDE. Are there any first suggestions for someone running perl on windoms 10 ?? (where best to Emac download from)

Regards JC......

Replies are listed 'Best First'.
Re^3: Eclipse IDE with add on EPIC; Errors on the code
by LanX (Saint) on Nov 22, 2024 at 14:29 UTC
    If you go the emacs way, make sure to set cperl-mode as standard when opening .pl files.

    Otherwise consider VSCode, Komodo IDE, and CamelCade.

    • Komodo IDE should be free to use now, maybe ask Grandfather
    • CamelCade ... no idea, ask StevieB
    • VsCode, no personal experience. It's free and comes with multiple Perl related LSP plugins, If they play well on windows is another question,
    • regarding Emacs, haj is the maintainer of cperl-mode now.
    Maybe have a look at my IDE criteria thread or the video of my talk and ask yourself which features are essential for you.

    Hope this helps! :)

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    see Wikisyntax for the Monastery