If you used __PACKAGE__->can( $i ) instead, you could pick up on overridden can() methods and might find out that the package can do much more than you thought it could. That can be very useful sometimes.
In reply to Re^2: Can't Reference a Sub by Variable when using Strict
by chromatic
in thread Can't Reference a Sub by Variable when using Strict
by Dru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |