in reply to Re^2: $object->UnrelatedPackage::some_subroutine()
in thread $object->UnrelatedPackage::some_subroutine()

I've used this when dealing with code that used the above trick to get a custom result without having to go and create a special method for it.

This is fine for a quick and dirty solution, but I would be wary of using it for anything else.

Perl's object system is somewhat broken as it is, so abusing it like this is just (IMO of course) a bad idea.

-stvn
  • Comment on Re^3: $object->UnrelatedPackage::some_subroutine()