Skip Menu |

This queue is for tickets about the Moose CPAN distribution.

Report information
The Basics
Id: 117585
Status: open
Priority: 0/
Queue: Moose

People
Owner: Nobody in particular
Requestors: DROLSKY [...] cpan.org
Cc:
AdminCc:

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



Subject: Moose should provide more info about methods
Some things that would be nice to know: * What is this method's signature and/or prototype? * What is the method's definition context? We track this for attributes, is there any way to calculate this for methods?
Subject: Re: [rt.cpan.org #117585] Moose should provide more info about methods
Date: Thu, 8 Sep 2016 18:04:42 +0200
To: bug-Moose [...] rt.cpan.org
From: Stevan Little <stevan.little [...] gmail.com>
Using B svref2object you can get the COMPSTASH of the CV, which will tell you what package it was compiled in. Just sayin Sent from my iPhone Show quoted text
> On Sep 7, 2016, at 18:24, Dave Rolsky via RT <bug-Moose@rt.cpan.org> wrote: > > Wed Sep 07 12:24:03 2016: Request 117585 was acted upon. > Transaction: Ticket created by DROLSKY > Queue: Moose > Subject: Moose should provide more info about methods > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: DROLSKY@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=117585 > > > > Some things that would be nice to know: > > * What is this method's signature and/or prototype? > > * What is the method's definition context? We track this for attributes, is there any way to calculate this for methods?
On 2016-09-08 09:04:56, STEVAN wrote: Show quoted text
> Using B svref2object you can get the COMPSTASH of the CV, which will > tell you what package it was compiled in.
Isn't this also available via Sub::Name? At least, this sort of trickery is how namespace::autoclean and Test::CleanNamespaces figure out whether a sub is in the "right" package or not.
Subject: Re: [rt.cpan.org #117585] Moose should provide more info about methods
Date: Fri, 9 Sep 2016 00:51:01 +0200
To: bug-Moose [...] rt.cpan.org
From: Stevan Little <stevan.little [...] gmail.com>
Yup, tis all variations on the same thing. On Thu, Sep 8, 2016 at 6:22 PM, Karen Etheridge via RT < bug-Moose@rt.cpan.org> wrote: Show quoted text
> Queue: Moose > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=117585 > > > On 2016-09-08 09:04:56, STEVAN wrote:
> > Using B svref2object you can get the COMPSTASH of the CV, which will > > tell you what package it was compiled in.
> > Isn't this also available via Sub::Name? At least, this sort of trickery > is how namespace::autoclean and Test::CleanNamespaces figure out whether a > sub is in the "right" package or not. >