May 26, 2018
Create method aliases (and do it safely)
MethodAlias is designed to be used as a pragma, to which you provide a set of pairs of method names. Only very minimal checking is done, if you wish to create infinite loops or what have you, you are more than welcome to shoot yourself in the foot.
Add a single method alias
use MethodAlias 'foo' => 'bar';
Add several method aliases
use MethodAlias 'a' => 'b', 'c' => 'd', 'e' => 'f';