Larry Wall wrote:
The fundamental problem here is that we're forcing a method name to be
represented as a string.  We're basically missing the &foo equivalent
for methods.  Maybe we need to allow the & indirection on method names
too:

    if $obj.&fribble:(Str --> BadPoet) {

Takes a little getting used to (it isn't immediately obvious that
you're testing for the existence of a method - at least, not until
you've spent some time thinking about it); but otherwise, I like.

--
Jonathan "Dataweaver" Lang

Reply via email to