----- Original Message ----

> From: Dave Rolsky <auta...@urth.org>

> > Side note: for Moose::Manual::Role, 'brake' is misspelled as 'break' in the 
> Car example.  I know why it was done this way, but a better example would be 
> nice :)
> 
> Huh? The running example is all about things that can break, as in broken. 
> Cars 
> can break. Bones can break. Breakdancers can break.

Ah, sorry. I must have misread it.  When I saw this:
  
  sub break {
      my $self = shift;

      if ( $self->is_moving ) {
          $self->stop;
      }
  }

I thought you meant "brake" as in "stopping", not "break" as in "really rubbish 
car" :)

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