Add type checking
package Person; use Moose; has name => (is => 'rw', isa => 'Str'); has age => (is => 'rw', isa => 'Int'); 1;continued...
Moose | Moose - It's the new camel | #6 |
package Person; use Moose; has name => (is => 'rw', isa => 'Str'); has age => (is => 'rw', isa => 'Int'); 1;continued...
Copyright © 2007 Robert Boone |