Community
    • Login

    perl lexer broken

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    perl
    2 Posts 2 Posters 2.2k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Hugh MyersH Offline
      Hugh Myers
      last edited by

      The perl lexer in version 6.88 is both out of date and broken. For instance the key words ‘given’, ‘when’, ‘last’ and ‘say’ are treated as names of subroutines. In addition, the lexer does not distinguish between $var[ and $var{, the first is a reference to an array element and the second is a reference to a hash element. Is there a fix?

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC Offline
        Claudia Frank @Hugh Myers
        last edited by

        Hello Hugh-Myers,

        the keywords can be added. Within the npp installation directory goto the
        …Notepad++\plugins\APIs directory and edit the perl.xml file accordingly.

        Regarding the references, it sounds like it was working before, wasn’t it?
        I checked the bug and features request and didn’t see any ticket referring to it.

        So if it was working and now doesn’t you may open a bug ticket here or
        if it wasn’t working before you may open a feature request here.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors