Object-InsideOut - Re: OIO and default value

Posted on Wed Dec 13 10:16:03 2006 by gaetan in response to 3746 (See the whole thread of 13)
Re: OIO and default value
Jerry, I don't undestand your answer.
If I write
my @attr : Field : Default(sub { print "this is a code ref" }) ;
I would like my attribute to be initialized with the code ref ! Do you have an counterexample ?
Gaetan
Direct Responses: 3754 | 3755 | Write a response