Native Balloon help

2004-11-11 Thread gerhard . petrowitsch
Hi all, is there a way to use the nice balloon or bubble shaped windows (e.g. used by the office assistant - see attached image) on WinXP in a GUI (Perl/Tk), perhaps using some Win32::API call or so? Thanks for any hints! Regards, Gerhard (See attached file: bubble.gif)<>

Re: A regular expression question

2004-11-11 Thread $Bill Luebkert
Ted Schuerzinger wrote: > Cai, Lixin (L.) graced perl with these words of wisdom: > > >>My $string = "sct-1.62-1"; >> >>I have 2 regular expression question here, >> >>A. I want to check whether the format is "XXX-XXX-XXX", how can I do it? This format doesn't actually match the example given.

Re: threads::shared

2004-11-11 Thread $Bill Luebkert
Paul Sobey wrote: > I'm using XML::Simple to read in two files, and generate two hashrefs. I > want to combine these two into a big hashref, like this: > > my $combined = { %{$a}, %{$b} }; > > This works fine, until I want to share the $combined hash to make it > visible across several threads

Re: A regular expression question

2004-11-11 Thread Ted Schuerzinger
Cai, Lixin (L.) graced perl with these words of wisdom: > My $string = "sct-1.62-1"; > > I have 2 regular expression question here, > > A. I want to check whether the format is "XXX-XXX-XXX", how can I do it? > B. I want to get 1.62 from the string, how can I do it? Nobody seems to have answere

Controlling fonts in Tk

2004-11-11 Thread Maurice Height
Hi all, My setup is Activeperl v5.8.4 build 810, Tk v804.026 running on Win2K. I wrote a little test program that uses Tk to display a window with a menubar along the top. I have tried to adjust fonts globally for the Menu but the code at lines 15 and 19 has had no effect, see: # HAS NO E

RE: A regular expression question

2004-11-11 Thread Gardner, Sam
Title: Message or even. . .   $string = "sct-1.62-1";print "$1\n" if ($string =~ /^.+-(.+)-.+$/);   (no need to use the backslash escape for the dashes; they're not part of a character class. . .     Sam Gardner GTO Application Development

RE: A regular expression question

2004-11-11 Thread Peter Eisengrein
Title: A regular expression question Your format does not match XXX-XXX-XXX so I'll guess you mean three fields delimited by a dash.   here's one way to do it   $string = "sct-1.62-1"; print "$1\n" if ($string =~ /^.+\-(.+)\-.+$/)           -Original Message-From: Cai, Lixin (L

A regular expression question

2004-11-11 Thread Cai, Lixin \(L.\)
Title: A regular expression question  Now I have a string like My $string = "sct-1.62-1"; I have 2 regular _expression_ question here, A. I want to check whether the format is "XXX-XXX-XXX", how can I do it? B. I want to get 1.62 from the string, how can I do it? Thanks a lot in adv

RE: Win32::OLE - Threadsafe?

2004-11-11 Thread Jan Dubois
On Thu, 11 Nov 2004, Jeff Griffiths wrote: > Paul Sobey wrote: >> Just realised if you turn that use into a require Win32::OLE after >> the threads have been spawned, it works ok. Anyone know why this >> should be so? I thought I read somewhere that Win32::OLE was >> threadsafe but it seems not! >

Re: Win32::OLE - Threadsafe?

2004-11-11 Thread Jeff Griffiths
Paul Sobey wrote: Just realised if you turn that use into a require Win32::OLE after the threads have been spawned, it works ok. Anyone know why this should be so? I thought I read somewhere that Win32::OLE was threadsafe but it seems not! Seeing as Jan occasionally mentions that he wuld like to m

threads::shared

2004-11-11 Thread Paul Sobey
I'm using XML::Simple to read in two files, and generate two hashrefs. I want to combine these two into a big hashref, like this:   my $combined = { %{$a}, %{$b} };   This works fine, until I want to share the $combined hash to make it visible across several threads.   As an example, conside

Re: sockets 101

2004-11-11 Thread Rhesa Rozendaal
Hon Shi wrote: We have a few monitors that need to connect to a central status controller (lights buzzers mail). The monitors have left status files up to now, but this is mess. I'm thinking that sockets might be a fix. Each monitor connects to the status controller and sends messages. I've done J

sockets 101

2004-11-11 Thread Hon Shi
We have a few monitors that need to connect to a central status controller (lights buzzers mail). The monitors have left status files up to now, but this is mess. I'm thinking that sockets might be a fix. Each monitor connects to the status controller and sends messages. I've done Java programs

RE: Win32::OLE - Threadsafe?

2004-11-11 Thread Paul Sobey
Just realised if you turn that use into a require Win32::OLE after the threads have been spawned, it works ok. Anyone know why this should be so? I thought I read somewhere that Win32::OLE was threadsafe but it seems not! P. -Original Message- From: $Bill Luebkert [mailto:[EMAIL PROTE

Re: UNIX utilities in Perl

2004-11-11 Thread Richard Scott
http://unxutils.sourceforge.net/ always this sort of thing too, if that will help ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs