Moose inheritance
package Employee; use Moose; use Id; extends ('Person'); has id => ( is => 'ro', default => Id::next() ); has title => ( is => 'rw', isa => 'Str' ); 1;continued...
Moose | Moose - It's the new camel | #9 |
package Employee; use Moose; use Id; extends ('Person'); has id => ( is => 'ro', default => Id::next() ); has title => ( is => 'rw', isa => 'Str' ); 1;continued...
Copyright © 2007 Robert Boone |