Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^4: IDE for Perl programming?

by choroba (Cardinal)
on Mar 12, 2021 at 13:30 UTC ( [id://11129500]=note: print w/replies, xml ) Need Help??


in reply to Re^3: IDE for Perl programming? ( *cperl-mode* )
in thread IDE for Perl programming?

> I have y_max somewhere in my code/comments/pod and it thinks it's an unfinished tr with _ as delimiter.

Confirmed, even this is wrong:

sub y_max { 1 }

Send a patch or report to the maintainers.

Update: Done.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^5: IDE for Perl programming?
by LanX (Saint) on Mar 12, 2021 at 14:13 UTC
    I think you meant mailing to bug-gnu-emacs@gnu.org ?

    I doubt the general emacs staff can handle this, this should be done by the cperl maintainers, which leads to an interesting question....

    Which and who's cperl-version is bundled with emacs?

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

      > I think you meant mailing to bug-gnu-emacs@gnu.org ?

      Yes, link fixed, thanks.

      > this should be done by the cperl maintainers

      That's OK, check the bug tracker. Mention "cperl" in the subject of the e-mail as I did.

      > Which and who's cperl-version is bundled with emacs?

      You can git clone the Emacs repo and see. All the changes from jrockway's repo have been incorporated there, plus some more. That's the official place. Hasn't it been mentioned here already by haj? Or has it been just in his clone of the repo?

      map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

        To add some more details: The official Emacs repo at https://git.savannah.gnu.org/cgit/emacs.git contains changes from the master branch of Jonathan Rockway's work - so his changes to accommodate for MooseX::Declare is not included there.

        In that repo I've also patched about a dozen or so old and ancient bugs, plus some I've discovered myself. At least one patch is still outstanding to fix indentation after package Foo { ...; }, but most of the work to bring it to Perl 5.30 is done. For example, the new package syntax as well as lexical subroutines should now work with the speedbar.

        In my own repo the master branch has some experimental stuff, including support for Moo* and other extensions which bring their own keywords. The upstream branch is occasionally synchronized with the "official" Emacs master branch (I've done it right now).

      Right now, the Emacs maintainers are also the CPerl maintainers (as can be seen in the file's header). So this is just "the Emacs version" of CPerl mode. The maintainers occasionally merge stuff from elsewhere (as they did with Jonathan Rockway's work). Only since my announcement here I started to make "Perl specific" contributions to this repository, but the adaptions to new features of Emacs is always done by people with better Elisp knowledge.

        I don't know what this practically means.

        I remember Ilya struggling and swearing about the way the emacs maintainers patched code and broke backwards compatibility.

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11129500]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-03-28 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found