in reply to Re^2: method aliases with goto(&NAME)
in thread method aliases with goto(&NAME)
There are probably instances where you'd want two methods that behave identically in the parent class, but behave differently in the child class. However, given that the title of this thread mentioned "method aliases", I'm assuming the intention is that legacy_method acts as an alias (i.e. behaves identically) for current_method, unless a child class explicitly overrides legacy_method to make it behave differently.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: method aliases with goto(&NAME)
by LanX (Saint) on Sep 18, 2013 at 14:53 UTC |