RE: One more time... trouble with Win32::Internet - http Request() vs. ReadFile()

2003-01-30 Thread Jeff Shanholtz
Well, with Sisyphus' help I got my simple test script working, but I'm finding a more serious problem when I try to apply this approach to my real script. As best as I can tell, it appears that the module is somehow poorly written and easily corrupted (memory corruption?). Simple (and

RE: Interacting With Exchange..

2003-01-30 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Barlow, Neil wrote: Hi experts, I am trying to write an inbox monitoring script that will monitor an inbox on exchange and alert if there are any new mails. I have been looking at Mail::POP3Client and Mail::POP3Client and these modules do successfully connect but the count and delete

Re: is it a binary file?

2003-01-30 Thread Carl Jolley
On Wed, 29 Jan 2003 [EMAIL PROTECTED] wrote: Hi all, is there a built in way to distinguish a binary file from a text file, such that I can call different routines to read and process it? Or is the only way to make a statistics about all the character codes in the file, and treat it as a

Re: string compare

2003-01-30 Thread Carl Jolley
On Wed, 29 Jan 2003, Krishna, Hari wrote: Friends, I have two string $m1=hari$; $t1=HaRi$; How do I compare irrespective of the case? Since they are strings, I have to use 'eq' as comparison operator. if ($m1 eq $t1) -- doesn't work as it looks at the case $m1 eq m/$t1/i I

RE: One more time... trouble with Win32::Internet - http Request() vs. ReadFile()

2003-01-30 Thread Tillman, James
Anyone have an idea how to get past this one? Thomas_M suggested using LWP, but I just looked at the module (since at this point I'm willing to do a complete rewrite to get past these problems) and I don't see how you can request files a chunk at a time (which I require in order to

Re: sort a table

2003-01-30 Thread Carl Jolley
On Wed, 29 Jan 2003, Andrew Mansfield wrote: Thanks for the tips about command line arguments, working great.. however I'm faced with another problem in which walking thru my O'Reilly books perldocs isn't made clear enough for me.. I have a list of data read in from a text file in which

Re: One more time... trouble with Win32::Internet - http Request() vs. ReadFile()

2003-01-30 Thread Sisyphus
- Original Message - From: Jeff Shanholtz [EMAIL PROTECTED] Thomas_M suggested using LWP, but I just looked at the module (since at this point I'm willing to do a complete rewrite to get past these problems) and I don't see how you can request files a chunk at a time (which I require

RE: Which module for simple GUI on Win2k?

2003-01-30 Thread Peter Guzis
You could also check into WxPerl (http://wxperl.sourceforge.net/) which is a Perl interface to WxWindows (http://www.wxwindows.org). I find it is much more robust, full-featured, and better documented than Win32::GUI. It is also cross-platform compatible. Peter Guzis Web Administrator, Sr.

Re: determining if a scalar is an integer or not

2003-01-30 Thread Carl Jolley
On Thu, 30 Jan 2003, Andre van der Lingen wrote: I would do it like this: if ($var / 1) { print (var: $var is: integer\n); } else{ print (var: $var is: string\n); } if $var is a string than the outcome = 0 so the if statement will print that $var is a string. Try

Re: determining if a scalar is an integer or not

2003-01-30 Thread Carl Jolley
On Thu, 30 Jan 2003, Sisyphus wrote: - Original Message - From: Andre van der Lingen [EMAIL PROTECTED] To: Mundell R. (Ronald) [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, January 30, 2003 7:14 PM Subject: Re: determining if a scalar is an integer or not I would do it

LWP::UserAgent question (was: One more time... trouble with Win32::Internet - http Request() vs. ReadFile())

2003-01-30 Thread Jeff Shanholtz
Title: LWP::UserAgent question (was: One more time... trouble with Win32::Internet - http Request() vs. ReadFile()) Now that I've switched from Win32::Internet to LWP::UserAgent, the only thing I haven't been able to figure out is how do I bail out of a request when I'm using a sub to

RE: :UserAgent question (was: One more time... trouble with Win32::Internet - http Request() vs. ReadFile())

2003-01-30 Thread Peter Guzis
From the LWP::UserAgent pod: The request can be aborted by calling die() in the callback routine. The die message will be available as the ``X-Died'' special response header field. Peter Guzis Web Administrator, Sr. ENCAD, Inc. - A Kodak Company email: [EMAIL PROTECTED] www.encad.com

Determing if a file has change ....

2003-01-30 Thread Neil
What is the best way of determing if a file has changed since it was last read ? I have thought about looking at last mod time - but if that was less than one second ago Thanks, Neil

How-to write a daemon

2003-01-30 Thread Mundell, R. \(Ronald\)
Title: How-to write a daemon Good Day All Does anyone know where can I get a good document to write a daemon in perl? Ronald

Win32::OLE 5.6?

2003-01-30 Thread FARRINGTON, RYAN
Title: Win32::OLE 5.6? has anyone seen the following error when trying to connect to a database using a connect string? the connection works for something like 50 connections then dies then comes back eventually... Any ideas? OLE exception from Provider: Unspecified error