title: perlbrew migrate modules to new perl install, on Mac OS X 10.7.5
body: <p>I asked this question on perlmonks, and have made limited progress so I will ask here.  I installed perl 5.16.0, threaded, on Mac OS X 10.7.5, using perlbrew. Now, when I try to transfer modules to the new install, it fails with a message that I don't understand. Below are commands I used and output.</p>
  
  <pre><code>$ perlbrew install --as perl-5.16.0t -Dusethreads perl-5.16.0
  </code></pre>
  
  <p>Then, following a post on perlmonks:</p>
  
  <pre><code>$ perldoc -t perllocal | perl -lane'/"Module"/ &amp;&amp; print $F[-1]' | sort -u &gt;/tmp/pms
  
  $ perlbrew switch perl-5.16.0t
  
  $ cpanm -v &lt;/tmp/pms &amp;&gt;&gt;/tmp/inst.log &amp; tail -f /tmp/inst.log
  </code></pre>
  
  <p>I then tried these commands as a simple check, and got output I can't begin to fathom:</p>
  
  <pre><code>$ perl -e 1 -MFile::Find
    dyld: lazy symbol binding failed: Symbol not found: _Perl_Istack_sp_ptr
    Referenced from: /Users/abualiga/perl5/lib/perl5/darwin-thread-multi-2level/auto/Cwd/Cwd.bundle
    Expected in: flat namespace
  
    dyld: Symbol not found: _Perl_Istack_sp_ptr
    Referenced from: /Users/abualiga/perl5/lib/perl5/darwin-thread-multi-2level/auto/Cwd/Cwd.bundle
    Expected in: flat namespace
  
    Trace/BPT trap: 5
  
  $ perldoc File::Find
    dyld: lazy symbol binding failed: Symbol not found: _Perl_Istack_sp_ptr
    Referenced from: /Users/abualiga/perl5/lib/perl5/darwin-thread-multi-2level/auto/Cwd/Cwd.bundle
    Expected in: flat namespace
  
    dyld: Symbol not found: _Perl_Istack_sp_ptr
    Referenced from: /Users/abualiga/perl5/lib/perl5/darwin-thread-multi-2level/auto/Cwd/Cwd.bundle
    Expected in: flat namespace
  
    Trace/BPT trap: 5
  </code></pre>
  
  <p>I uninstalled perl-5.16.0t and removed folder perlbrew and the line from .bash_profile, so now I am back to system perl 5.12.3.  I would like to know how to do this though, to have multiple perls in my home directory, and not have to use ActiveState.  </p>