Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Make methods() ignore subroutines declared as functions #222

Closed
schwern opened this Issue · 4 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
Carlos Lima carloslima 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

No no, we're just being slow.

Michael G. Schwern
Owner

Done by #253

Michael G. Schwern schwern closed this
Michael G. Schwern schwern referenced this issue
Closed

v2.13.0 #276

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.