New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't get list of methods on a Sub #2968
Comments
From @rjbsI like that I can easily get a list of methods on a value: > my $x = []; say $x.^methods It doesn't work on a Sub. > my $x = sub {}; say $x.^methods my $x = sub {}; say $x.^methods.flat > my $x = sub {}; say $x.^methods.perl > my $x = sub {}; say $x.^methods.DUMP There are 40 of them, though: > my $x = sub {}; $x.^methods.elems -- |
From @jnthnOn Fri Nov 09 11:44:46 2012, rjbs wrote:
The problems were thanks to Sub having various NQP routines installed in Added tests to S12-introspection/methods.t; resolving ticket. Thanks! /jnthn |
The RT System itself - Status changed from 'new' to 'open' |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#115658 (status was 'resolved')
Searchable as RT115658$
The text was updated successfully, but these errors were encountered: