title: How do I write a perl6 macro to enquote text?
body: <p>I'm looking to create a macro in P6 which converts its argument to a string.
  Here's my macro:</p>
  
  <pre><code>macro tfilter($expr) {
          quasi {
                  my $str = Q ({{{$expr}}});
                  filter-sub $str;   
          };
  }
  </code></pre>
  
  <p>And here is how I call it:</p>
  
  <pre><code>my @some = tfilter(age &lt; 50);
  </code></pre>
  
  <p>However, when I run the program, I obtain the error:</p>
  
  <pre><code>Unable to parse expression in quote words; couldn't find final '&gt;'
  </code></pre>
  
  <p>How do I fix this?</p>