http://www.perlmonks.org?node_id=332958


in reply to Re: inheritance turns back and bites
in thread inheritance turns back and bites

That's what I thought at first glance, but after a moment realized that pop, shift on a 2+ element array is going to get the last and first elements regardless of order of evaluation.

Nevertheless, it's a bad way to do it, since if the method call is given no parameters, the bless will default to package "main" (with a warning).