On Fri, Apr 23, 2004 at 06:56:35PM -0700, Jonathan Lang wrote:
:     $::_ can x; # asserts that the class must provide a method called x

Fine idea, but that looks like run-time code that runs at the wrong time.
It needs something out front to make it a declaration.  Perhaps it's just:

    POST { $::_.can('x') }

if that doesn't interact badly with its DBC meaning.

Larry

Reply via email to