http://qs321.pair.com?node_id=1054421


in reply to Re: method aliases with goto(&NAME)
in thread method aliases with goto(&NAME)

OTOH *oldname = *newname;

Yes, I also thought about something like that, but the goto version allows to include more code in the legacy method if needed:

sub legacy_code { warn ("This method is deprecated, use current_method instead"); goto(&current_method); }

citromatik