Skip to content
This repository

Make methods() ignore subroutines declared as functions #222

Open
schwern opened this Issue June 04, 2012 · 3 comments

2 participants

Michael G. Schwern Carlos Lima
Michael G. Schwern
Owner

Change the methods meta method to ignore any subroutine declared as a function. Use the methods provided by perl5i::Signature to check.

my $sig = $code->signature;
next if $sig and $sig->is_method;
Carlos Lima carloslima referenced this issue from a commit in carloslima/perl5i April 13, 2013
Carlos Lima Make methods() ignore subroutines declared as functions
(issue #222)
06798b1
Carlos Lima

I'm not sure whether I was supposed to do use perl5i::2::autobox at lib/perl5i/2/Meta.pm or not.

Let me know if there is any change you'd like me to make and I'll fix it :-)

Carlos Lima

Did I approach it the wrong way or is there no longer interest in this issue?
I'd be happy to address any problem, provided I get some feedback :)

Michael G. Schwern
Owner
schwern commented May 27, 2013

No no, we're just being slow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.