> On 23 May 2017, at 20:23, Salve J Nilsen <s...@pvv.org> wrote: > > Patrick R. Michaud said: >> On Tue, May 23, 2017 at 09:01:54PM +0300, Gabor Szabo wrote: >>> >>> given an object $o and the name of a method in $method = "run" >>> how can I invoke the $o.run() ? >>> >>> Something like $o.call($method) >> >> At one point it was done as $o."$method"() . >> >>> my $method = 'say'; 123."$method"(); >> 123 > > Is there a reasons for $o.call("method") not existing?
What if you want to pass parameters as well? Liz