Although that gets tricky (both false positives and false negatives) in the face of inheritance. (But then, so does your use of can).@subnames = grep {Test->can($_)} keys %Test::;
In reply to Re: Package introspection
by JavaFan
in thread Package introspection
by FloydATC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |