use Data::Dumper; print Dumper $obj->aliases();