in reply to When do subs get overridden?
My practice it to use mixed case in subroutine names or to use both & and () when calling my subroutines. See (tye)Re: A question of style for more details.
print &q("calling a subroutine"), $/;
And, no, you can't override q//. You can override things like open. And you can tell this because prototype("CORE::q") returns undef while prototype("CORE::open") returns "*;$@". See prototype.
- tye
|
|---|