Hi! I am using Moose version 0.79 and MooseX::Declare version 0.22. I am trying to work out how to use a self-defined type as the type of method parameters. I tried some variations, but I am always running into errors. I can constrain types of class attributes, but not the types of the parameters of a method.
Does anybody have a sample code snippet showing how this is done correctly? Cheers, Sascha --------------------------------- Sascha Ott, PhD RCUK Academic Fellow in Bioinformatics Warwick Systems Biology Centre Coventry House, Room 327 University of Warwick CV4 7AL Coventry United Kingdom Tel.: +44-(0)24-761-50258 E-mail: [email protected] http://www2.warwick.ac.uk/fac/sci/systemsbiology/staff/ott/
