title: How to use B::Hooks to manipulate the perl parser
body: <p>I'm looking to play with perl parser manipulation. It looks like the various <code>B::Hooks</code> modules are what people use. I was wondering:</p>
  
  <ol>
  <li><p>Best place to start for someone who has no <code>XS</code> experience (yet). Any relevant blog posts?</p></li>
  <li><p>How much work would be involved in creating a new operator, for example:</p>
  
  <p><code>$a~&gt;one~&gt;two~&gt;three</code></p></li>
  </ol>
  
  <p><code>~&gt;</code> would work like <code>-&gt;</code> but it would not try to call on <code>undef</code> and would instead simply return <code>undef</code> to LHS.</p>
  
  <p>Although a source filter would work -- I'm more interested in seeing how you can manipulate the parser at a deeper level.</p>