If I understand correctly, you're saying it's ok to use can if you make sure to check that @ISA is empty first?
1) You didn't do that, so I guess you're saying your code is wrong too?
2) You'd need to use an alternative approach when @ISA isn't empty. Why not use that all the time?
In reply to Re^4: Function name in a variable, can't recall the concept (introspection with ->can )
by ikegami
in thread Function name in a variable, can't recall the concept
by mpersico
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |