UN-redirecting STDOUT.

2004-11-16 Thread Beckett Richard-qswi266
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.

Re: UN-redirecting STDOUT.

2004-11-16 Thread $Bill Luebkert
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

Remote Stat - Slow??

2004-11-16 Thread Paul Sobey
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,

OLE/ADO Error with Active Directory

2004-11-16 Thread jason
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

Sending MIME eMail with UTF-8 character-set

2004-11-16 Thread David J Effa
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

RE: OLE/ADO Error with Active Directory

2004-11-16 Thread Steven Manross
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:

RE: DBI eating memory ?

2004-11-16 Thread Capacio, Paula J
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

RE: OLE/ADO Error with Active Directory

2004-11-16 Thread jason
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

numeric vs string scalars...difference?

2004-11-16 Thread Paul Rogers
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

RE: numeric vs string scalars...difference?

2004-11-16 Thread Arms, Mike
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

Re: numeric vs string scalars...difference?

2004-11-16 Thread Paul Rogers
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

Is anybody else having problems with the mailing list?

2004-11-16 Thread Ted Schuerzinger
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