You can clone with
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;
Make methods() ignore subroutines declared as functions
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 :-)
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 :)
No no, we're just being slow.