in reply to When do subs get overridden?
You missed one more way two ways of calling main::q
print ::q("this isn't printed either"),$/; print &q("me either"),$/;
Update: added second line of code and this:
If I read the docs correctly, you should be able to override the built-ins by using prototypes. And I had better shut up before I give away all my obfu secrets ;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: When do subs get overridden?
by LAI (Hermit) on Apr 03, 2003 at 21:29 UTC |