At 07:55 PM 1/13/2005, you wrote:
Allegakoen, Justin Devanandan wrote:
---8
^Z on windoze
---8
^D or ^Z I still have to hit enter after it. Unless theres a subtle
difference that I'm missing.
True - you do have to hit CR (unlike UNIX's ^D).
Anyway, just to
Allegakoen, Justin Devanandan wrote:
On one of my WinXP machines I notice the following:
c:\Perl\Programsperl
system(date /t);
system(time /t);
print scalar localtime;
^D
^Z on windoze
I have to use an explicit shell call:
system cmd /C date /t;
system cmd /C time /t;
print scalar
---8
^Z on windoze
---8
^D or ^Z I still have to hit enter after it. Unless theres a subtle
difference that I'm missing.
Anyway, just to reiterate my point, because James sent me a reply
offline as well:-
c:\perl\Programsperl
system cmd /C date /t;
system cmd /C
Allegakoen, Justin Devanandan wrote:
---8
^Z on windoze
---8
^D or ^Z I still have to hit enter after it. Unless theres a subtle
difference that I'm missing.
True - you do have to hit CR (unlike UNIX's ^D).
Anyway, just to reiterate my point, because James
On one of my WinXP machines I notice the following:
c:\Perl\Programsperl
system(date /t);
system(time /t);
print scalar localtime;
^D
Thu 01/13/2005
03:26 PM
Thu Jan 13 07:26:44 2005
c:\Perl\Programs
Im in a GMT +8hrs timezone and the system time reports that correctly,
but localtime seems to be