Bryan wrote:


   > > > Er, scratch this. Blows up if the sub isn't prototyped. A much
   > > > *better* way is to make the prototype of any sub a property
   > > > (trait) of that sub. We can always query for a property.
   > >
   > > This is possible now:
   > > $foo = sub ($) { print "hello world\n" };
   > > print prototype $foo;
   > 
   > Well, it's nice to know that when I reinvent the wheel, it's still round.

But I strongly agree that the parameter list of a subroutine ought to be
accessed via a trait, rather than a builtin function.

Damian

Reply via email to