I have two attributes, 'xml' and 'xml_file' for an object.  One or the other 
must be supplied, but not both.

Must I validated this in BUILD or is there another way of doing this?

Cheers,
Ovid
--
Buy the book         - http://www.oreilly.com/catalog/perlhks/
Tech blog            - http://use.perl.org/~Ovid/journal/
Twitter              - http://twitter.com/OvidPerl
Official Perl 6 Wiki - http://www.perlfoundation.org/perl6

Reply via email to