Typing
- Moose introduces a type system for attributes
- Might seem non-Perlish, but saves lots of time
- Example:
my $class = Class->new( config => 'bar' );
# later
if($class->config->{test}){ do test }
- DIES
Can't use string ("bar") as HASH ref while "strict refs" in use
- "How did that happen?"