curl-users
Re: curl installation for perl
Date: Mon, 6 Mar 2006 06:24:36 -0800 (PST)
Does the perl "system" call work on windows? If so,
you could get out to curl faster than writing a reply
to this email. With perl on linux, not using any
special "bindings", you can basically reach any
program or script by giving the command line as a
string to system(). Special characters are sometimes
treated differently so it's prudent to make up a
single string variable containing the desired command.
Perl also has backtick invocations:
$cwd=`pwd`;
which could be used for returning strings rather than
exit codes.
I've used curl a lot from bash scripts on Linux. I
found no need to go the library.
I've not tried any of this on Cygwin.
frank
--- Brian Dessent <brian_at_dessent.net> wrote:
> Daniel Stenberg wrote:
>
> > Then I'm afraid I have to say that I have no idea.
> The perl binding comes with
> > fine install procedure for *nix-like operating
> systems and I have not seen any
> > description on how to translate that to Windows
> conditions and I have no such
> > clues myself.
> >
> > I would assume that someone good at perl on
> Windows could help you out.
>
> If you use Cygwin's perl then the unix instructions
> should translate
> more or less verbatim. Just make sure to have the
> curl, libcurl3, and
> curl-devel packages installed and then follow the
> normal CPAN procedure
> for installing any perl module. That said I've
> never tried this, but
> since Cygwin's goal is to provide as close to actual
> *nix environment as
> possible, it should work.
>
> Now, if you're talking about Activestate perl,
> that's a whole separate
> universe. (And I would never advocate anyone using
> their perl port over
> the "real" perl offered by Cygwin.)
>
> Brian
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Received on 2006-03-06