$object_instance -> set_state ( "here is a new state" ); #### MyObject::set_state ( $object_instance, "here is a new state" );