in reply to CORE and CORE::GLOBAL operators
First of all, you're using the wrong tool even for memoize. can is for methods. exists(&subname) is for subs. But neither works for builtins. Keep in mind the builtins functions are closer to operators than to subs.
What are you trying to do? If you want to check of a builtin is overrideable, you can use prototype('CORE::funcname').
Otherwise, you'll probably have to make a list from the contents of perlfunc or the appropriate source file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CORE and CORE::GLOBAL operators
by casiano (Pilgrim) on Mar 04, 2008 at 11:26 UTC | |
by ikegami (Patriarch) on Mar 04, 2008 at 17:01 UTC |