in reply to Object Oriented Perl - very basic guide
This is actually not quite true. "set_state" could be implemented in a base-class and in the general case that base-class might not be known at compile-time, so Perl cannot do any "translations" but actually has to perform a search for the proper method in the parent-class hierarchie at run-time.
is translated by perl (because it knows it's a 'MyObject' because of that 'bless') into:
$object_instance -> set_state ( "here is a new state" );
MyObject::set_state ( $object_instance, "here is a new state" );
At least that is my understanding...