Skip to content

Loading…

Make methods() ignore subroutines declared as functions #222

Closed
schwern opened this Issue · 4 comments

2 participants

@schwern

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;
@carloslima carloslima added a commit to carloslima/perl5i that referenced this issue
@carloslima carloslima Make methods() ignore subroutines declared as functions
(issue #222)
06798b1
@carloslima

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 :-)

@carloslima

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 :)

@schwern

No no, we're just being slow.

@schwern

Done by #253

@schwern schwern closed this
@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.