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

leocharre has asked for the wisdom of the Perl Monks concerning the following question:

I'm doing some poop- What's a proper way to code method synonyms?

I've been doing:

# my imaginary method sub get_name { my $self = shift; $self->author or return; return "Your name is ".$self->author ". Hope you like it. "; } # my synonym sub name { my $self = shift; return $self->get_name; }

This get's tiresome/unmaintainable with 20+ methods.

What about with strictly procedural - that is.. subroutines.. should it be different? Where can I see some examples of this?
I didn't see much in super search under method synonyms

update

After reading the feedback on this original post- It appears to me that promiscuous use of method synonyms are a sugar cube with a drop of cyanide. Probably won't kill you, will taste like a sweet almond- and will likely make you sick.