title: how to decompile perl bytecode from perlcc -B?
body: <p>I want to decompile the bytecode with deparse, then I failed.
  I do the following test:(perl 5.8.9)</p>
  
  <p>1) make a file named t.pl with single line</p>
  
  <pre><code>    print 1;
  </code></pre>
  
  <p>2) compile to get plc file</p>
  
  <pre><code>    $ perl -MO=Bytecode,-H,-ot.plc t.pl
  </code></pre>
  
  <p>3) try to decompile</p>
  
  <pre><code>    $ perl -MO=Deparse t.plc
      use ByteLoader 0.06;
      t.plc syntax OK
  </code></pre>
  
  <p>4) use Concise module
          $ perl -MO=Concise,-exec t.plc</p>
  
  <pre><code>1  &lt;0&gt; enter 
  2  &lt;;&gt; nextstate(main 174 y.pl:1) v
  3  &lt;0&gt; pushmark s
  4  &lt;$&gt; const(IV 1) s
  5  &lt;@&gt; print vK
  6  &lt;@&gt; leave[1 ref] vKP/REFC
  y.plc syntax OK
  
  with this method, we can got some valuable info, but it is hard to read.
  </code></pre>
  
  <p>I can not get the source code. I have searched the web, it <a href="https://stackoverflow.com/questions/4048614/how-can-i-reverse-engineer-a-perl-program-that-has-been-compiled-with-perlcc">seems</a> that Deparse module can deparse the <code>perlcc -B</code> produced file. </p>
  
  <p>Any idea? Thanks</p>
  
  <p>refers:</p>
  
  <p><a href="http://ask.slashdot.org/story/05/11/11/0129250/protecting-perl-code" rel="nofollow noreferrer">http://ask.slashdot.org/story/05/11/11/0129250/protecting-perl-code</a></p>