Re: installing LWP::UserAgent on windows



Iam simply testing out LWP, I tried using it to find the latest perl
version, according to the lwp manpage

this command should give me thelatest perl:

perl -MLWP::Simple -e '
getstore "ftp://ftp.sunet.se/pub/lang/perl/CPAN/src/latest.tar.gz";,
"perl.tar.gz"'

However this is what it says after the first line:

C:\Perl\bin>perl -MLWP::Simple -e '
Can't find string terminator "'" anywhere before EOF at -e line 1.

it says this error for basically any command I use for lwp





"Sisyphus" <sisyphus1@xxxxxxxxxxxxxxxxx> wrote in message
news:42b8c7c9$0$21396$afc38c87@xxxxxxxxxxxxxxxxxxxxxxx
>
> "Nospam" <nospam@xxxxxxxx> wrote in message
> news:Mq3ue.30$z61.5@xxxxxxxxxxxxxxxxxxxxxxx
> > it says 2.033
>
> Well .... if it says that, then it's quite possibly working ok (though you
> have a different version than what's on my build 810). If there is some
> problem with your LWP::UserAgent then running that command would probably
> have produced an error message
>
> Can you provide a simple script that demonstrates the problem you're
> having - and also provide a copy'n'paste of the error messages produced.
>
> > I am wondering if I have tried to reintall it again after having it
> > pre-intalled with actrive perl might have messed it up
> >
>
> Yes, it might be messed up - but until we see what the problem is, we can
> only speculate .... and I don't feel like covering every possible scenario
> :-)
>
> Cheers,
> Rob
>
>


.



Relevant Pages

  • Re: Cant hadle error
    ... Dezember 2005 10.19: ... > I write a big program in perl that open some file, ... after adding some new command the program exit with no error message. ...
    (perl.beginners)
  • Re: CPAN reports not matching whats installed
    ... CPAN's 'r' command does not do that. ... Perl 5.8 contains a FAQ as to the proper method of doing that. ... you can instead read the FAQ online: ... but I'm pretty sure that the error message is telling ...
    (comp.lang.perl.misc)
  • Re: perl and CGI
    ... This error message is _not_ a Perl error message. ... I was just trying to figure out how perl and the web server works.. ... at the command line, you get an entry in the Perl FAQ that mentions various possible reasons for the error message. ...
    (comp.lang.perl.misc)
  • Re: installing LWP::UserAgent on windows
    ... > Iam simply testing out LWP, I tried using it to find the latest perl ... > it says this error for basically any command I use for lwp ... On Windows you need to enclose the code within double quotes, ...
    (comp.lang.perl.modules)
  • Re: installing LWP::UserAgent on windows
    ... > Iam simply testing out LWP, I tried using it to find the latest perl ... according to the lwp manpage ... > it says this error for basically any command I use for lwp ...
    (comp.lang.perl.modules)