in reply to Re^3: Function name in a variable, can't recall the concept (introspection with ->can )
in thread Function name in a variable, can't recall the concept
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?
|
|---|