I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 1999-12-31 23:19:49-08 by gaetan in response to 3738
Re: OIO and default value
Hello

It works with the new Default attribute (this interface is cleaner) .... but not in all cases:

The default value I would like to set to my attribute is an object (and not a constant)
my @attr : Field : Default(my::defined::object->new()) ;

Would it be possible to eval the :Default attribute parameter ? If the eval fails, then the attribute is initialized as if the eval was not called.

Gaetan
Direct Responses: 3746 | Write a response