N
Noel Sant
Hi! I have two questions:
The first is rather silly and off-topic. I have posted questions here a
couple of times, and have always been given good answers and advice. I have
then tried to reply to my original post with a thank-you message, but it
never seems to get there. I can see my original post fairly soon after I
send it off, but never my reply. I'm using MS Outlook Newsreader (Help/About
says it's part of Outlook Express 5), and when I reply it asks whether I
want to reply to the group or an individual, and I choose group. Can anyone
guess what's wrong? Is there a better newsreader that I should use?
Second question: I have a program whose STDOUT I redirect to a file, with a
command like:
D:\>perl -w myprog.pl config_file >> log_file.txt
This on a Windows 2000 system, using ActiveState's Perl.
In the program I call WinZip, sometimes to zip stuff that includes this log
file. WinZip then objects because it's open. Well, actually it just warns
me, and says that if I write to it, it could corrupt the zipped file. So I
want to close STDOUT before calling WinZip, and re-open it afterwards. Is
this possible? When I try, Perl gets very upset, but I suspect that may be
because I don't know, within the program, what the file name is to which
it's been redirected. How can I find this out? Or is there some way to tell
Perl to use the one it had before?
TIA,
Noel Sant
The first is rather silly and off-topic. I have posted questions here a
couple of times, and have always been given good answers and advice. I have
then tried to reply to my original post with a thank-you message, but it
never seems to get there. I can see my original post fairly soon after I
send it off, but never my reply. I'm using MS Outlook Newsreader (Help/About
says it's part of Outlook Express 5), and when I reply it asks whether I
want to reply to the group or an individual, and I choose group. Can anyone
guess what's wrong? Is there a better newsreader that I should use?
Second question: I have a program whose STDOUT I redirect to a file, with a
command like:
D:\>perl -w myprog.pl config_file >> log_file.txt
This on a Windows 2000 system, using ActiveState's Perl.
In the program I call WinZip, sometimes to zip stuff that includes this log
file. WinZip then objects because it's open. Well, actually it just warns
me, and says that if I write to it, it could corrupt the zipped file. So I
want to close STDOUT before calling WinZip, and re-open it afterwards. Is
this possible? When I try, Perl gets very upset, but I suspect that may be
because I don't know, within the program, what the file name is to which
it's been redirected. How can I find this out? Or is there some way to tell
Perl to use the one it had before?
TIA,
Noel Sant