Hi Guys,
I've managed to log STDOUT to a file like this...
if (defined ($outfile)) {
$tee = IO::Tee - new($out, \*STDOUT);
select $tee;
}
However, if I want to stop logging to a file, but carry on getting print outs
to the screen, what do I need to do?
Thanks.
R.
Beckett Richard-qswi266 wrote:
Hi Guys,
I've managed to log STDOUT to a file like this...
if (defined ($outfile)) {
$tee = IO::Tee - new($out, \*STDOUT);
select $tee;
}
However, if I want to stop logging to a file, but carry on getting print outs
to the screen, what do
I have a routine
which takes a directory name and returns a hash keyed on filename, with
arrayrefs containing two values resulting from a stat of each file. I've found
that the routine runs incredibly slowly over a UNC, particularly if over a WAN
link. All I want to get is the filename,
I get the following error when I attempt to query Active Directory on a
Windows 2003 Server with my script (server is running MDAC 2.8):
Win32::OLE(0.1403) error 0x800401f9: Error in the DLL in
METHOD/PROPERTYGET Properties at C:\testad.pl line 17
Can't use an undefined value as a HASH
Does anyone have a good code example of taking data passed from a HTML Form, and say it contains an eMail Address and Message Body text fields that contain international character-set (Japanese or German), and have that form data post to a PERL script that then went on to send the mail with
Works for 2k3 here...
Sounds like something's screwy on the 2k3 server. Did you check the
event log on the 2k3 server?
Steven
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
jason
Sent: Tuesday, November 16, 2004 9:46 AM
To: [EMAIL PROTECTED]
Subject:
From: Ing. Branislav Gerzo [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 1:34 AM
Subject: DBI eating memory ?
I am playing with Parallel::ForkManager, but I have one interesting
question. When I run script bellow it uses too much memory - it seems
to me, that child thread doesn't
Nothing in Event Logs (ran multiple times with all auditing turned on).
Investigating MDAC Setup. :(
16 Nov 2004 14:21:07 -0700, Steven Manross wrote
Works for 2k3 here...
Sounds like something's screwy on the 2k3 server. Did you check the
event log on the 2k3 server?
Steven
I need to dynamically do comparisons tests on an array of values...some
strings, some numeric. One snag I hit is comparing the occasional numeric
values. Using eq as the comparison operator fails on comparisons like
45.0 vs 45.
Is there a way to determine if a scalar value is indeed numeric?
I
Paul Rogers [perl-users AT coservers DOTnet] wrote:
I need to dynamically do comparisons tests on an array of
values...some strings, some numeric. One snag I hit is
comparing the occasional numeric values. Using eq as
the comparison operator fails on comparisons like
45.0 vs 45.
Is
Hi Andy,
Thanks for your response.
For clarification I'm doing equality comparisons. Thus...
$x = '45.0';
$y = '45';
if ($x eq $y) {print values are equal;}
...does not product the desired result (i.e., that they are indeed equal).
I used your regex idea to solve the problem (I had some tried
I haven't received a message for four days. And I *know* I didn't do
anything to unsubscribe.
--
Ted Schuerzinger, [EMAIL PROTECTED]
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
12 matches
Mail list logo