RE: Win32::SerialPort and thread

2004-11-23 Thread John Serink
You don't need to use threads to do this. The comm buffers are filled for you behind the scenes with Win32::Serialport. You can use threads if you want but there is no need. Cheers, John > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Lin Jingx

Win32::SerialPort and thread

2004-11-23 Thread Lin Jingxian
hi, can Win32::SerialPort be used in multi-thread environment? I want to use two threads to access COM1 on my computer, one for reading and one for writing.I have wrotten some code to do it,but it didn't work.any idea? here is my code: # reopen COM and Tie it $commPort = tie (*COMM, 'Win32:

RE: adsi date type

2004-11-23 Thread joe
lastLogon should be returned by AD as a string though that string represents an int8 value (i.e. 64 bit integer). It won't be displayed as a date directly, it would need to be converted. I have posted in various locations how to convert the value to a ctime value and then decode to a string He

Re: Binary opérations with PERL

2004-11-23 Thread Sisyphus
Christophe Gauder wrote: Hello All, I try to manipulate bits in perl (this si not easy) The script below fails when using >> and << operator. Can someone explain me what's wrong ??? $xx=chr(16).chr(17); print unpack('B*',$xx); #print 000100010001 - OK print "\n"; $xx=$xx | (

RE: TK - Tablematrix Problems

2004-11-23 Thread Jack D.
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Andrew Mueller > Sent: November 23, 2004 12:35 PM > To: [EMAIL PROTECTED] > Subject: TK - Tablematrix Problems > > Hello, > > > > I just installed the most recent Perl distribution but I am > n

TK - Tablematrix Problems

2004-11-23 Thread Andrew Mueller
Hello,   I just installed the most recent Perl distribution but I am now having problems when I create a spreadsheet using Tk::TableMatrix::Spreadsheet.    Here is the code snippet used to generate the spreadsheet:       $dsw2->Scrolled('Spreadsheet',   

Re: Binary opérations with PERL

2004-11-23 Thread $Bill Luebkert
Christophe Gauder wrote: > Hello All, > > > I try to manipulate bits in perl (this si not easy) > The script below fails when using >> and << operator. > Can someone explain me what's wrong ??? > > > $xx=chr(16).chr(17); > > print unpack('B*',$xx); #print 000100010001 - O

RE: Binary opérations with PERL

2004-11-23 Thread Adam R. Frielink
> > I try to manipulate bits in perl (this si not easy) > The script below fails when using >> and << operator. > Can someone explain me what's wrong ??? > > > $xx=chr(16).chr(17); > > print unpack('B*',$xx); #print 000100010001 - OK > print "\n"; > $xx=$xx | (chr(255).ch

Binary opérations with PERL

2004-11-23 Thread Christophe Gauder
Hello All, I try to manipulate bits in perl (this si not easy) The script below fails when using >> and << operator. Can someone explain me what's wrong ??? $xx=chr(16).chr(17); print unpack('B*',$xx); #print 000100010001 - OK print "\n"; $xx=$xx | (chr(255).chr(1)); pr

Authenticate to mailserver thru MIME::Tools

2004-11-23 Thread Huub Peters
Hello, I'm using MIME::Tools (actually MIME::Entity) to build and send an email. The problem I'm facing is that I have to authenticate to the mailserver. I could use another method to finally send the message but I just want to know if this could be delt with using the current construction. MIME: