in reply to Re: Skipping the middle man & the SUPER gotcha
in thread Skipping the middle man & the SUPER gotcha
I think that:You think that, but you think wrongly. {grin}
If you have an arrow in your syntax (method call), it respects @ISA (keep searching if subroutine is not found) and unshifts the additional first parameter (class name or instance reference). If you don't have an arrow, you don't get that, because it's an ordinary subroutine call. So those are definitely not the same.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Skipping the middle man & the SUPER gotcha
by Thelonious (Scribe) on Apr 02, 2005 at 19:40 UTC | |
by TimToady (Parson) on Apr 02, 2005 at 20:00 UTC | |
by Thelonious (Scribe) on Apr 03, 2005 at 11:52 UTC |