title: Why can't I run a Perl program from TextMate?
body: <p>I'm following a bioinformatics text, and this represents one of my first Perl scripts. While in TextMate, this does not produce any result. Is it functioning? I added "hello world" at the bottom and I don't see that when I run the script in TextMate. What have I done wrong?</p>
  
  <pre><code>#!/usr/local/bin/perl -w
  use lib "/Users/fogonthedowns/myperllib";
  use LWP::Simple;
  use strict;
  
  #Set base URL for all eutils
  my $utils = "http://eutils.ncbi.nlm.nih.gov/entrez/eutils";
  my $db = "Pubmed";
  my $query ="Cancer+Prostate";
  my $retmax = 10;
  my $esearch = "$utils/esearch.fcgi?" . 
                "db=$db&amp;retmax=$retmax&amp;term=";
  
  my $esearch_result = get($esearch.$query);
  print "ESEARCH RESULT: $esearch_result\n";
  print "Using Query: \n$esearch$query\n";
  print "hello world\n";
  </code></pre>