Ask a Question related to PERL Modules, Design and Development.
-
Sherm Pendley #1
Re: installing LWP::UserAgent on windows
"Nospam" <nospam@home.com> writes:
I don't use Windows myself, but as I understand it, installing modules from> I have ActivePerl 5.8.4.810on win98se and I am trying to install
> LWP:UserAgent I downloaded the tar file from cpan.org and extracted the
> files into my c:/perrl/bin directory putting them in a folder of their own
> in the bin directory, I ran perl makefile after browsing to the directory
> the LWP:UserAgent folder were extracted to, however LWP::UserAgent doesn't
> seem to work, is there anything I have missed?
source can be particularly troublesome on 98/ME. Doesn't ActiveState offer
LWP as a pre-compiled PPM?
sherm--
Sherm Pendley Guest
-
CF 7.0.1 updater not installing in windows
I downloaded the coldfusion 7.0.1 updater for windows. When I clicked on the setup file a dialog box was visable for a split second before it went... -
Installing windows from a USB HD
Is it possible to copy the windows CD to a USB HD and then install from here to the computers internal HD. The reason for doing so is i would... -
Error 113 when installing in Windows 98???
My installation completely aborts, giving 'error 113' as an 'online error message' so. help! thx -
installing windows xp pro.
I need to install Windows XP Pro. on a loptop. The loptop already has Windows XP Home edition. Do I need to erase the hard drive and re-format... -
Installing CtCmd on Windows
What are cl and dumpbin? I am trying to configure CtCmd and I was reading the INSTALL document before proceeding. It stated that I must be able... -
Nospam #2
installing LWP::UserAgent on windows
I have ActivePerl 5.8.4.810on win98se and I am trying to install
LWP:UserAgent I downloaded the tar file from cpan.org and extracted the
files into my c:/perrl/bin directory putting them in a folder of their own
in the bin directory, I ran perl makefile after browsing to the directory
the LWP:UserAgent folder were extracted to, however LWP::UserAgent doesn't
seem to work, is there anything I have missed?
Nospam Guest
-
Sisyphus #3
Re: installing LWP::UserAgent on windows
"Nospam" <nospam@home.com> wrote in message
news:BM%te.34327$%21.27022@newsfe2-gui.ntli.net...I think LWP::UserAgent comes as standard with ActivePerl - ie you should> I have ActivePerl 5.8.4.810on win98se and I am trying to install
> LWP:UserAgent I downloaded the tar file from cpan.org and extracted the
> files into my c:/perrl/bin directory putting them in a folder of their own
> in the bin directory, I ran perl makefile after browsing to the directory
> the LWP:UserAgent folder were extracted to, however LWP::UserAgent doesn't
> seem to work, is there anything I have missed?
>
>
already have it. Remove the entire directory you created, and if you haven't
stomped on the original LWP::UserAgent it should work ok. You can test that
it's there, and accessible by running:
perl -MLWP::USerAgent -le "print $LWP::UserAgent::VERSION"
(which, I think, should report '2.031'.)
Cheers,
Rob
Sisyphus Guest
-
Nospam #4
Re: installing LWP::UserAgent on windows
it says 2.033
I am wondering if I have tried to reintall it again after having it
pre-intalled with actrive perl might have messed it up
"Sisyphus" <sisyphus1@nomail.afraid.org> wrote in message
news:42b8ae2a$0$26758$afc38c87@news.optusnet.com.a u...own>
> "Nospam" <nospam@home.com> wrote in message
> news:BM%te.34327$%21.27022@newsfe2-gui.ntli.net...> > I have ActivePerl 5.8.4.810on win98se and I am trying to install
> > LWP:UserAgent I downloaded the tar file from cpan.org and extracted the
> > files into my c:/perrl/bin directory putting them in a folder of theirdirectory> > in the bin directory, I ran perl makefile after browsing to thedoesn't> > the LWP:UserAgent folder were extracted to, however LWP::UserAgenthaven't>> > seem to work, is there anything I have missed?
> >
> >
> I think LWP::UserAgent comes as standard with ActivePerl - ie you should
> already have it. Remove the entire directory you created, and if youthat> stomped on the original LWP::UserAgent it should work ok. You can test> it's there, and accessible by running:
>
> perl -MLWP::USerAgent -le "print $LWP::UserAgent::VERSION"
>
> (which, I think, should report '2.031'.)
>
> Cheers,
> Rob
>
>
Nospam Guest
-
Sisyphus #5
Re: installing LWP::UserAgent on windows
"Nospam" <nospam@home.com> wrote in message
news:Mq3ue.30$z61.5@newsfe2-gui.ntli.net...Well .... if it says that, then it's quite possibly working ok (though you> it says 2.033
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.
Yes, it might be messed up - but until we see what the problem is, we can> I am wondering if I have tried to reintall it again after having it
> pre-intalled with actrive perl might have messed it up
>
only speculate .... and I don't feel like covering every possible scenario
:-)
Cheers,
Rob
Sisyphus Guest
-
Nospam #6
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@nomail.afraid.org> wrote in message
news:42b8c7c9$0$21396$afc38c87@news.optusnet.com.a u...>
> "Nospam" <nospam@home.com> wrote in message
> news:Mq3ue.30$z61.5@newsfe2-gui.ntli.net...>> > 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
>
>
Nospam Guest
-
Slaven Rezic #7
Re: installing LWP::UserAgent on windows
"Nospam" <nospam@home.com> writes:
The single quotes may only be used with Unix shells. In the 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
>
command line, you have to use "..." instead, and turn all "..." inside
of the onliner into qq{...}.
Regards,
Slaven
--
Slaven Rezic - slaven <at> rezic <dot> de
Visualize XML files in a Tk text widget:
[url]http://search.cpan.org/search?mode=module&query=Tk::XMLViewer[/url]
Slaven Rezic Guest
-
Sisyphus #8
Re: installing LWP::UserAgent on windows
"Nospam" <nospam@home.com> wrote in message
news:FVdue.328$z61.292@newsfe2-gui.ntli.net...On Windows you need to enclose the code within double quotes ("), not within> 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
>
single quotes (') as you have tried. This also means that any double quotes
inside the string of code need to be escaped. Try something like:
perl -MLWP::Simple -e "getstore
\"ftp://ftp.sunet.se/pub/lang/perl/CPAN/src/latest.tar.gz\",\"perl.tar.gz\""
For me that produced no error - though it seemed to hang. Perhaps I was just
not being sufficiently patient.
Cheers,
Rob
Sisyphus Guest
-
A. Sinan Unur #9
Re: installing LWP::UserAgent on windows
Sisyphus wrote:
I find q{} much easier on the eyes than escaped quotation marks:> perl -MLWP::Simple -e "getstore
> \"ftp://ftp.sunet.se/pub/lang/perl/CPAN/src/latest.tar.gz\",\"perl.tar.gz\""
>
perl -MLWP::Simple -e "getstore
q{ftp://ftp.sunet.se/pub/lang/perl/CPAN/src/latest.tar.gz},
q{perl.tar.gz}"
(Please excuse the line-wrapping).
Sinan.
A. Sinan Unur Guest



Reply With Quote

