title: How can I view the contents of a hash in Perl6 (in a fashion similar to the Perl 5 modules Data::Dump or Data::Show)?
body: <p>In Perl 5, if I want to see the contents of a hash, I can use <a href="https://metacpan.org/pod/Data::Show"><code>Data::Show</code></a>, <a href="https://metacpan.org/pod/Data::Dump"><code>Data::Dump</code></a>, or <a href="https://metacpan.org/pod/Data::Dumper"><code>Data::Dumper</code></a>.</p>
  
  <p>For example:</p>
  
  <pre><code>use Data::Show;
  
  my %title_for = (
      'Book 1' =&gt; {
          'Chapter 1' =&gt; 'Introduction',
          'Chapter 2' =&gt; 'Conclusion',
      },
      'Book 2' =&gt; {
          'Chapter 1' =&gt; 'Intro',
          'Chapter 2' =&gt; 'Interesting stuff',
          'Chapter 3' =&gt; 'Final words',
     }
  );
  
  show(%title_for);
  </code></pre>
  
  <p>Which outputs: </p>
  
  <pre><code>======(  %title_for  )======================[ 'temp.pl', line 15 ]======
  
      {
        "Book 1" =&gt; { "Chapter 1" =&gt; "Introduction", "Chapter 2" =&gt; "Conclusion" },
        "Book 2" =&gt; {
                      "Chapter 1" =&gt; "Intro",
                      "Chapter 2" =&gt; "Interesting stuff",
                      "Chapter 3" =&gt; "Final words",
                    },
      }
  </code></pre>
  
  <p>Is there anything equivalent in Perl 6? I thought I remember Damian Conway discussing this feature at YAPC 2010, but I have since lost my notes and Googling hasn't helped.</p>
  
  <pre><code>use v6;
  
  my %title_for = (
    "Book 1" =&gt; { "Chapter 1" =&gt; "Introduction", "Chapter 2" =&gt; "Conclusion" },
    "Book 2" =&gt; {
                  "Chapter 1" =&gt; "Intro",
                  "Chapter 2" =&gt; "Interesting stuff",
                  "Chapter 3" =&gt; "Final words",
                },
  );
  
  %title_for.say;
  </code></pre>
  
  <p>The closest thing that I found to working is <code>%title_for.say</code>. However, it seems messy for nested hashes:</p>
  
  <pre><code>Book 1 =&gt; Chapter 1 =&gt; Introduction, Chapter 2 =&gt; Conclusion, Book 2 =&gt; Chapter 1 =&gt; Intro, Chapter 2 =&gt; Interesting stuff, Chapter 3 =&gt; Final words
  </code></pre>
  
  <p>I'm using Perl6 running on <a href="http://www.moarvm.com">MoarVM</a> from the <a href="http://rakudo.org/downloads/star/">January 2015 release of Rakudo Star</a>.</p>