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
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:
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
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 | (
> -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
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',
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
>
> 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
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
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:
10 matches
Mail list logo