title: Perl: curl: (1) Protocol 'http not supported or disabled in libcurl
body: <p><a href="https://stackoverflow.com/questions/6682983/perl-script-updated-needed-unfamiliar-with-perl">Perl Question</a>. I'm trying to get this script running in a debugger.</p>
  
  <p>I've got Aptana + Epic + ActivePerl 5.12.4 working on Windows 7x64. The script is starting fine but I'm getting an error:</p>
  
  <pre><code>curl -sS http://intranet.mycompany.org/directory/directory.xml
  </code></pre>
  
  <p>The above command works fine... but if I start the debugger I get this error:</p>
  
  <pre><code>curl: (1) Protocol 'http not supported or disabled in libcurl
  </code></pre>
  
  <p>First part of the script below:</p>
  
  <pre><code>#!/usr/bin/perl
  use strict;
  
  use XML::Parser;
  use Data::Dumper;
  
  my $url = 'http://intranet.atlanticgeneral.org/directory/directory.xml';
  my $output = 'C:\global.gabook';
  
  my $file = "curl -sS '$url' |";
  my $parser = new XML::Parser(Style =&gt; 'Tree');
  my $tree = $parser-&gt;parsefile($file)-&gt;[1];
  </code></pre>