local $Employee::current= $secondObject; $secondObject->doSomethingThatRaisesWarnings();