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(¤t_method); }
citromatik
In reply to Re^2: method aliases with goto(&NAME)
by citromatik
in thread method aliases with goto(&NAME)
by citromatik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |