Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: f8938013a7
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (17 sloc) 0.79 kB


About examples used in the book


Good examples live at the heart of our book, so it's worth thinking hard about it.

At the initial brainstorming meeting we agreed that the JSON::Tiny module would make a good example (which doesn't imply we'll actually use it). Here's why:

it solves a real world problem, and it solves it (nearly) completely
it's short enough to comfortably fit into a book
it uses fairly idiomatic Perl 6 without overdoing it
it uses some nice features (grammars, action methods, multi dispatch)

Our examples should fulfill as many of these criteria as possible.

In particular we don't want the usual Mammal examples for inheritance, $foo and bar() as names (though pubs are fine).

Jump to Line
Something went wrong with that request. Please try again.