John Cope wrote
>
> Try using "perl -S ppm.bat install --location=repository.url PackageName
> >ppm.log"
>

I tried using that - it runs quickly and produces no out put. Perhaps I
misunderstand what is required  here. I can get it to run as normal if I
put:
perl -S ppm.bat install
http://theoryx.uwinnipeg.ca/ppmpackages/Apache-ASP.ppd >ppm.log
(That's all on one line, btw.)
But the output still goes to screen and not to ppm.log. Anyone familiar with
that site and who possesses a keen eye will at once spot that I've
misspelled the url (something I might have realised earlier if I had been
able to see all of the output). I've since found out that if I spell the url
correctly the ppm installation of Apache::ASP works fine. So, whilst the
problem that prompted this post has been solved, I am still unable to get
ppm's output to anywhere other than screen.

I also tried Joe Schell's suggestions of appending '>ppm.txt' and 'ppm.txt
2>&1'. Output still goes to screen only. I'm using Windows 98. In all cases,
the file I'm trying to write to exists in the cwd.

Thanks to John and Joe for those suggestions, btw - I had not tried any of
them, yet it seems reasonable to expect that they might work.

As the initial problem has been solved, I'm quite prepared to let this
sleeping dog lie. The only worry is, that he will wake up again one day.

Any further suggestions gratefully received.

Cheers,
Rob

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to