title: Why I can't run perl from Textmate?
body: <pre><code>#!/usr/bin/perl -w
  use WWW::Mechanize;
  print $WWW::Mechanize::VERSION."\n";
  </code></pre>
  
  <p>1) run from Textmate :</p>
  
  <blockquote>
    <p>Can't locate WWW/Mechanize.pm in @INC (@INC contains:
    /Applications/TextMate.app/Contents/SharedSupport/Bundles/Perl.tmbundle/Support
    /Library/Perl/Updates/5.10.0
    /System/Library/Perl/5.10.0/darwin-thread-multi-2level
    /System/Library/Perl/5.10.0
    /Library/Perl/5.10.0/darwin-thread-multi-2level /Library/Perl/5.10.0
    /Network/Library/Perl/5.10.0/darwin-thread-multi-2level
    /Network/Library/Perl/5.10.0 /Network/Library/Perl
    /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level
    /System/Library/Perl/Extras/5.10.0 .) at
    /Users/xxx/Development/test.pl line 2. BEGIN failed--compilation
    aborted at /Users/xxx/Development/test.pl line 2.</p>
  </blockquote>
  
  <p>2) run from terminal:</p>
  
  <pre><code>sh-3.2# perl test.pl&lt;br&gt;
  1.64
  </code></pre>
  
  <p>What should I do?</p>