Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6162959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:44:42+00:00 2026-05-23T21:44:42+00:00

Perl Question . I’m trying to get this script running in a debugger. I’ve

  • 0

Perl Question. I’m trying to get this script running in a debugger.

I’ve got Aptana + Epic + ActivePerl 5.12.4 working on Windows 7×64. The script is starting fine but I’m getting an error:

curl -sS http://intranet.mycompany.org/directory/directory.xml

The above command works fine… but if I start the debugger I get this error:

curl: (1) Protocol 'http not supported or disabled in libcurl

First part of the script below:

#!/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 => 'Tree');
my $tree = $parser->parsefile($file)->[1];
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T21:44:43+00:00Added an answer on May 23, 2026 at 9:44 pm

    Windows doesn’t like single quotes in commands. Try using double quotes in the command, using qq{} escaping. Just change one line:

    my $file = qq{curl -sS "$url" |};
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is a beginner-best-practice question in perl. I'm new to this language. The question
I am writing a script in Perl and have a question about Perl's foreach
I'm used to work in Java, so perhaps this question is a Java-oriented Perl
I have a question about Perl from the script below. If the input for
This is kind of a follow-up question to Perl: add character to begin of
This question is not Perl-specific, (although the unpack function will most probably figure into
This question is related to the last point of Item 46 in Effective Perl
maybe this is a stupid question but : i run perl 5.8.8 and i
The question How can I monkey-patch an instance method in Perl? got me thinking.
Really simple perl question, but confusing me greatly. foreach $val (@{$obj->something()}) { # this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.