On Mar 26, 2015 11:04 AM, "Moritz Lenz" <mor...@faui2k3.org> wrote:
> On 26.03.2015 16:55, Tom Browder wrote:
> > I need to test some private routines, so is there a way to do that
> And then you can also do something like:
> my $private_method = $obj.^private_method_table{$methodname};
> $obj.$private_metnod(arguments here)

That works great!

> but it is rather questionable use of the MOP.

Nevertheless, it is very helpful for debugging.




Reply via email to