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
Download (untitled) / with headers
text/plain 214b
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>
Download (untitled) / with headers
text/plain 830b
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?
Download (untitled) / with headers
text/plain 339b
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>
Download (untitled) / with headers
text/plain 579b
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. >


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.