It works for me from the command line. I tried every reasonable (and unreasonable) combination of quotes, no quotes, commas, no commas even backticks before writing the list.


It's a bit of a comfort to know that it did work in the past, and I didn't just imagine it :)

The fact that it's returning zero, means that it thinks it's working. Must? be a system problem -- so where to go from here?

I might manage the two test lines in C, see if that works. It will prove nothing but it might be interesting.

ms


At 04:23 PM 8/10/03, you wrote:
On Sun, 10 Aug 2003, Michael D. Smith wrote:

>
> I didn't have the "or" on there at all originally. Apparently I had
> complete confidence in it. I put that on yesterday after I discovered it
> wasn't setting the system clock -- in this test case to 12:01:02.
>
> This is the simplest test I could devise. Of course on the original, the
> method of getting the correct time is a bit more complicated, but the
> correct time is in $time, I've printed it, besides I've stripped it down to
> just these two lines for a test and it doesn't set the clock this way either.
>
> The Question is, "Does this work for anyone?"
>
> or was I totally mistaken previously when I thought it was working? I can't
> believe it never worked but if it did work, I can't believe it's not
> working now. I haven't changed anything -- much...:)
>
> Actually, I have changed computers from an Intel to an Athlon since I wrote
> that script, same OS though. I find it difficult to believe that's the
> cause -- but I'm grasping at straws now because I can find nothing,
> noth-thing:) And I may have updated PERL, not at all sure on that one. I'm
> using build 804 file version 5,8,0,804
>
> BTW If you mess your clock up testing this for me, you can find the time at
> http://time.gov
>


What happens when you try the command from a command line, i.e.
time 12:01:02

If it won't work from a command line, then it won't work with a system()
call. BTW, it works for me but I'm not sure that it works on all Win32
OSes the same way. I'd suggest that instead of two parameters to the
system function you try it with one, e.g.

system("time $time");

**** [EMAIL PROTECTED] <Carl Jolley>
**** All opinions are my own and not necessarily those of my employer ****

_______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to