RosettaCodeData/Task/Call-an-object-method/Pike/call-an-object-method-2.pike

3 lines
37 B
Plaintext

function func = obj->method;
func();