Piers wrote:

   > > >    > Can 'undef' valued thingys have properties
   > > > 
   > > > Yes.
   > > >    
   > > >    > and functions?
   > > > 
   > > > No.
   > > > 
   > > 
   > > Why not?
   > 
   > You can always set a property on a function reference. But it seems a
   > little weird that functions can have properties in perl5, but not in
   > perl 6.

Hmmmm.  I read Ed's original questions as:

        Can 'undef' valued thingys have properties?
and:
        Can 'undef' valued thingys have functions?

That's why I said "no" to the second.

If the second question was actually:

        Can functions have properties?

Then the answer is, of course, "yes".

Damian

Reply via email to