in reply to
method dispatch question
Once you have a reference to a method, the following notations are perfectly equivalent:
$mref->($self); # OR
In this case, in fact, usual OOP stuff for hereditariness does not kick in, because perl already has a method to call.
I agree with moritz about avoiding syntaxes that go beyond readability. On the other hand, I think that the following remains inside the realm of readability:
although I'd probably go for a temporary variable anyway, just to stress the fact that you're getting a method to call on $self
perl -ple'$_=reverse' <<<ti.xittelop@oivalf
Io ho capito... ma tu che hai detto?