in reply to Re^10: 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
\&$name works even under strict refs. No need to turn it off.
You need to return something (undef?) in the else case.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^12: Function name in a variable, can't recall the concept (introspection with ->can )
by Veltro (Hermit) on Apr 19, 2019 at 18:35 UTC | |
by ikegami (Patriarch) on Apr 19, 2019 at 18:55 UTC |