<A12>
The upshot of these rules is that a private method call is
essentially a subroutine call with a method-like syntax. But the
private method we're going to call can be determined at compile
time, just like a subroutine.
</A12>
Is it permissible to use variable dispatch for private methods?
class Cerebellum {
method :think() {...}
method :ponder() {...}
method :cogitate() {...}
method some_method() {
...
$activity = �:think, :ponder, :cogitate�.random;
$brain.$activity;
}
}
Or would the colons be on the invocation, not the name?
=Austin
PS: Sorry, Piers.