There's one gotcha that others haven't mentioned, which is an issue for you, the module author, rather than for those using your module.
The gotcha is that any attempts to use the builtins inside your module: return, split, delete, will result in calls to the subs in your package, not the builtins (and they will probably fall over as they are expecting an object as $_[0]). To get the real builtins, they now need to be qualified, viz: CORE::return, CORE::split and CORE::delete.
Care is needed coding your module, as this is a source of bugs.
--
Oh Lord, won’t you burn me a Knoppix CD ?
My friends all rate Windows, I must disagree.
Your powers of persuasion will set them all free,
So oh Lord, won’t you burn me a Knoppix CD ?
(Missquoting Janis Joplin)
In reply to Re: Built-in Function Homonyms for Method Names Bad, Too?
by rinceWind
in thread Built-in Function Homonyms for Method Names Bad, Too?
by jffry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |