in reply to Re^7: 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

No, that's not true.

If they're trying to resolve a method, then ->can is correct.

If they're trying to resolve a sub, then ->can can fail

The OP is looking for a sub.

  • Comment on Re^8: Function name in a variable, can't recall the concept (introspection with ->can )
  • Select or Download Code