Re: Distinguish SCALAR from ARRAY, CODE, HASH in the symbol table of a typeglob

2003-10-23 Thread gerhard . petrowitsch
Hi Dave, thanks for your reply. Yes, this would work (of course), but if the scalar was just 'declared' but no value assigned using our $foo; this doesn't work. It would show up in the symbol table, but it wouldn't be 'defined'. Perhaps I shouldn't have used the word 'defined' in my original que

Re: Threads In Perl?

2003-10-23 Thread Jeff Dietz
Scott, There is some thread support in Perl. There was a good article or two a while back in TPJ, but I don't have a link handy. You can also start your investigation at CPAN. There is a Perl threads tutorial at: http://theoryx5.uwinnipeg.ca/CPAN/perl/pod/perlthrtut.html -Jeff Scott Purcell w

Main Background color win32::gui

2003-10-23 Thread David Liouville
Hello, I can't find howto change the main windows background color. -background property work fine for component but not for main window. Please help, thanks     David Liouville1bis rue St Louis35000 RennesGSM : 06 70 20 71 53WEB : http://www.vraiment-pas.net   ---

Tk and group of listboxes

2003-10-23 Thread Moon, John
I define the following binding on three listboxes. Any listbox I select I always end up with the focus on the last listbox in the list. I'm trying to make sure that if any listitem is selected the corresponding listitem in the other two listboxes are the current - active - items ... and the focus r

Re: Windows Event Log Source DLL

2003-10-23 Thread lgbarr
Look into Win32::EventLog::Message by Dave Roth. Cheers, /LG /Luiz George Ramsey Barreiros Analista Assistente de Informatica GEPRO NRT 1-RJ/SETAR Banco do Brasil S.A.

Third time charmed -- I hope :) Was sending email

2003-10-23 Thread Michael D. Smith
Well that definitely didn't send in plain format :) So clearly it recognized it and performed some magic on it. Magic that in this case I did NOT want. Here's a try sent in "stylized" and without the original, which it incorporated the first time making an even bigger mess, and I added several

Re: Opps sorry. sending email in HTML format

2003-10-23 Thread Michael D. Smith
Opps sorry. That first mail was incomplete. I ran a test. Sent myself a test email in both plain and html format. This header may also be needed: Content-Type: multipart/alternative; boundary="=_1906071==.ALT" Then the extra tag already mentioned: And those are the

Re: Generating email in different languages (Net::SMTP and Simplified Chinese)?

2003-10-23 Thread Juan Carlos Cruz Dada
Howard, You can use the Net::SMTP to send multybyte characters. What you need to do is (i guess is stated in the RFC1521) encode base64 the string prior to send the data (if is the subject). You can have plenty of examples (most on PHP) doing a simple google search. For message, just encode it i

RE: ADO returning junk and crashing IIS

2003-10-23 Thread William Limratana
Hi, Yes - it works without the utf8(). I found it wasn't doing anything for me anyway. I'm running it using PerlIS, I believe. It's via the perl module for IIS. I wonder why it was creating garbage data. Thank you, Will ___ Perl-Win32-Users m

Fwd: sending email in HTML format

2003-10-23 Thread Michael D. Smith
I think, from looking at some of my stored emails with notepad, so I can see the html, that what you need is this: in front of the html tag, like so: That's a guess but easy enough to test. ms From: "Frank Pikelner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: sending email in HTM

RE: Threads In Perl?

2003-10-23 Thread Peter Eisengrein
Title: RE: Threads In Perl? I believe 5.8 has thread capability (I'm still on 5.6.x). You could probably do the background work without using threads. Take a look at the _Timer method. You can use that to do things (like your file checking) on a regular basis while still allowing the user to i

RE: Generating email in different languages (Net::SMTP and Simplified Chinese)?

2003-10-23 Thread Michael Krygowski
Howard, I have not done any converting of this type, but hopefully these links can help. :-) Our development team wrote their own APIs (in C/C++) based on the specs from the unicode.org site. Maybe the following links may help: http://dataconv.org/apps_mail.html This contains some programs

Re: Threads In Perl?

2003-10-23 Thread Joe Youngquist
> I was wondering if there is any Thread support in Perl? Yes, Perl 5.8 > If there is any info on this topic, links would be appreciated. Try here: http://aspn.activestate.com/ASPN/docs/ActivePerl/lib/threads.html - Original Message - From: "Scott Purcell" <[EMAIL PROTECTED]> To: <[EMAIL

Threads In Perl?

2003-10-23 Thread Scott Purcell
I was wondering if there is any Thread support in Perl? I would like to have my application run, and while the end-user is working in the GUI, I would like to have a background thread, or process keeping track of certain files that may be altered while the user is in the app. If there is any i

RE: ADO returning junk and crashing IIS

2003-10-23 Thread Peter Guzis
How is this script being run? CGI? PerlIS? PerlEx? Can you try it without Unicode::String? 1. It probably doesn't matter in this case, but you should "use strict" at the beginning of the script. It will help a lot with debugging later. 2. "my $db, $query;" isn't doing what you think it is doing

sending email in HTML format

2003-10-23 Thread Frank Pikelner
Hello,   I need to write a short Perl program that will send email containing an HTML table with data. My script succeeds sending on the  the email, but the HTML does not get interpreted by the client as HTML and appears as HTML tags with the data. My guess is it is something with the HTM

RE: Windows Event Log Source DLL

2003-10-23 Thread Peter Guzis
Check out Win32::EventLog::Message at http://www.roth.net/perl/. Peter Guzis Web Administrator, Sr. ENCAD, Inc. - A Kodak Company email: [EMAIL PROTECTED] www.encad.com -Original Message- From: John_Ramsden [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 10:32 AM To: [EMAIL PR

Windows Event Log Source DLL

2003-10-23 Thread John_Ramsden
Executive Summary - I'd be very grateful if anyone can point me to info on setting up a System Event Message Text Template Table for my own event source. Waffle -- I have a system app that runs as a service and needs to log system event messages when it starts and stops. I

Re: Distinguish SCALAR from ARRAY, CODE, HASH in the symbol table of a typeglob

2003-10-23 Thread Dave_King
if (defined($foo)) { dosomething }? [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 10/23/2003 01:14 AM                 To:        [EMAIL PROTECTED]         cc:                 Subject:        Distinguish SCALAR from ARRAY, CODE, HASH in the symbol table of a typeglob Hi all, I've got a v

PerlTk application window disappearing on WinXP

2003-10-23 Thread Igor Litmanovich
Hello, I am having a problem of tk application window disappearing on a WinXP machine. This happens when one program calls another one: Application A opens Tk window, then calls application B and waits for it to end. Application B opens its window, but when it exits the the window of applicatio

ADO returning junk and crashing IIS

2003-10-23 Thread William Limratana
Hello, I am having some problems retrieving data from a database. When retrieving data, I often get garbled information following what I've retrieved. I think it's memory corruption of some kind. dllhost.exe often crashes after 4-5 calls to the page containing the code (at the end of thi

RE: Regex

2003-10-23 Thread Michael D. Smith
I had a problem once where the digit can be one or two, it was computer generated and when the digit was one character, the space was two, so this might be more reliable... $line=~/[\w{3} \w{3}\s{1,2}(\d{1,2})\s{1,2}(\d{4})\s{1,2}(\d\d):(\d\d):(\d\d)\] And if it doesn't do that, it won't hurt

RE: File::Copy error handling

2003-10-23 Thread Peter Eisengrein
Title: RE: File::Copy error handling > I'm not sure $? is useful to you since you're using copy > from File::Copy, not system "copy" or `copy`. Suggest checking > paths, and whether the copy *actually* took place. I suppose so. For the last 10 months $? worked just fine, but *something* happ