Skip to content

Commit

Permalink
fixed reference to grammars jeeger++
Browse files Browse the repository at this point in the history
  • Loading branch information
perlpilot committed Dec 21, 2010
1 parent 4e8d751 commit ff0067c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/roles.pod
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,11 @@ behaviors by performing different roles.

=head1 What is a role?

Previous chapters have explained classes and grammars. A role is another type
of package. Like classes and grammars, a role can contain methods (including
named regexes) and attributes. However, a role cannot stand on its own; you
cannot instantiate a role. To use a role, you must incorporate it into an
object, class, or grammar.
A role is another type of package. Like classes, a role can contain
methods (including named regexes) and attributes. However, a role cannot
stand on its own; you cannot instantiate a role. To use a role, you must
incorporate it into an object, class, or, as we'll see in later
chapters, a grammar.

In other object systems, classes perform two tasks. They represent entities in
the system, providing models from which to create instances. They also provide
Expand Down

0 comments on commit ff0067c

Please sign in to comment.