Skip Menu |

This queue is for tickets about the PPR CPAN distribution.

Report information
The Basics
Id: 125606
Status: open
Priority: 0/
Queue: PPR

People
Owner: Nobody in particular
Requestors: mst [...] shadowcat.co.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: A possible feature
Date: Sat, 16 Jun 2018 23:47:10 +0000
To: bug-PPR [...] rt.cpan.org
From: Matt S Trout <mst [...] shadowcat.co.uk>
PerlPrefixPostfixTerm handles prefix, then various $thing-><{ $stuff }> constructs - it would be handy (again, only for PPR::X) to be able to capture method calls versus the various types of dereference - would you be interested in adding such things? If not, do you have any suggestions on what would be better than "copy-paste and override that rule" so that I avoid partially forking PPR::X? -- Matt S Trout - Shadowcat Systems - Perl consulting with a commit bit and a clue http://shadowcat.co.uk/blog/matt-s-trout/ http://twitter.com/shadowcat_mst/ Email me now on mst (at) shadowcat.co.uk and let's chat about how our CPAN commercial support, training and consultancy packages could help your team.
Subject: Re: [rt.cpan.org #125606] A possible feature
Date: Sun, 17 Jun 2018 12:05:07 +1000
To: bug-PPR [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Hi Matt, Show quoted text
> PerlPrefixPostfixTerm handles prefix, then various $thing-><{ $stuff }> > constructs - it would be handy (again, only for PPR::X) to be able to > capture method calls versus the various types of dereference - would you > be interested in adding such things?
Sure. Though it's not clear to me precisely what you want here. Could you send me an example of the code you'd like to be able to write when overloading PerlPrefixPostfixTerm? Thanks, Damian
Subject: Re: [rt.cpan.org #125606] A possible feature
Date: Mon, 18 Jun 2018 17:57:19 +0000
To: "damian [...] conway.org via RT" <bug-PPR [...] rt.cpan.org>
From: Matt S Trout <mst [...] shadowcat.co.uk>
On Sat, Jun 16, 2018 at 10:05:52PM -0400, damian@conway.org via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=125606 > > > Hi Matt, >
> > PerlPrefixPostfixTerm handles prefix, then various $thing-><{ $stuff }> > > constructs - it would be handy (again, only for PPR::X) to be able to > > capture method calls versus the various types of dereference - would you > > be interested in adding such things?
> > Sure. > > Though it's not clear to me precisely what you want here. > Could you send me an example of the code you'd like to be able to write > when overloading PerlPrefixPostfixTerm?
Hmm. Y'know, I suspect the easy solution is to write it *without* the feature and send you the code for discussion. -- Matt S Trout - Shadowcat Systems - Perl consulting with a commit bit and a clue http://shadowcat.co.uk/blog/matt-s-trout/ http://twitter.com/shadowcat_mst/ Email me now on mst (at) shadowcat.co.uk and let's chat about how our CPAN commercial support, training and consultancy packages could help your team.
Subject: Re: [rt.cpan.org #125606] A possible feature
Date: Tue, 19 Jun 2018 07:11:47 +1000
To: bug-PPR [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Show quoted text
> Hmm. Y'know, I suspect the easy solution is to write it *without* the > feature and send you the code for discussion.
Indeed. I'm a big fan of Design-by-Coding. Happy to look at creating a better mechanism once we know what the current insufficient one does to your code. Damian PS: I'm about to be off the air for an indefinite period (courtesy of my improvident DSL provider). Apologies in advance for the almost certain delay in responding further.