[26592] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 8721 Volume: 10

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Nov 29 18:05:38 2005

Date: Tue, 29 Nov 2005 15:05:11 -0800 (PST)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Tue, 29 Nov 2005     Volume: 10 Number: 8721

Today's topics:
        ANNOUNCE: CGI::Session::Driver::oracle V 1.00 <ron@savage.net.au>
        ASTM checksum <cNaOlSePbA@MvPeLtEsAtSaEr.com>
    Re: length is 0 with unpack_socketaddr_in xhoster@gmail.com
        Win32::SqlServer 2.001 <esquel@sommarskog.se>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Mon, 28 Nov 2005 09:34:50 GMT
From: Ron Savage <ron@savage.net.au>
Subject: ANNOUNCE: CGI::Session::Driver::oracle V 1.00
Message-Id: <IqqCrw.v08@zorch.sf-bay.org>

The pure Perl module CGI::Session::Driver::oracle V 1.00
is available immediately from CPAN,
and from http://savage.net.au/Perl-modules.html.

On-line docs, and a *.ppd for ActivePerl are also
available from the latter site.

This module allows you to use Oracle to store sessions managed by CGI::Session.





------------------------------

Date: Tue, 29 Nov 2005 11:50:04 -0600
From: Spin <cNaOlSePbA@MvPeLtEsAtSaEr.com>
Subject: ASTM checksum
Message-Id: <11op568i1bsgp37@corp.supernews.com>

Could I have some help calculating a checksum for data transmission to a 
lab machine? Here are the ASTM specs for the checksum:

The checksum is computed by adding the binary values of the characters, 
keeping the least significant eight bits of the result. Each character 
in the message text is added to the checksum (modulo 256). The checksum 
is an integer represented by eight bits, it can be considered as two 
groups of four bits. The groups of four bits are converted to the ASCII 
characters of the hexadecimal representation. The two ASCII characters 
are transmitted as the checksum, with the most significant character first.

This is a sample message, where '40' is the checksum and the checksum is 
calculated using the 7 through to the <ETX>:
<STX>7L|1|N<CR><ETX>40<CR><LF>

Thus the checksum is calculated with this portion of the string:
7L|1|N<CR><ETX>

Of course the <CR> and <ETX> are sent as chr(13) and chr(03), not as 
they appear in the email here.

I have been working with unpack and the % operator but to no avail.

TIA
Spin


------------------------------

Date: 29 Nov 2005 16:13:11 GMT
From: xhoster@gmail.com
Subject: Re: length is 0 with unpack_socketaddr_in
Message-Id: <20051129111311.698$xc@newsreader.com>

bsder <snort_sam@yahoo.com> wrote:
> Hi,
>
> I got the following error message when the client drops its connection
> after I pressed the Ctl-C.
>
> Bad arg length for Socket::unpack_sockaddr_in, length is 0, should be 16
> at Echoer1.pl line 39.

You should check the success of your system calls, like "bind" and "accept"

Xho

-- 
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service                        $9.95/Month 30GB


------------------------------

Date: Sun, 27 Nov 2005 17:09:28 GMT
From: Erland Sommarskog <esquel@sommarskog.se>
Subject: Win32::SqlServer 2.001
Message-Id: <IqqCs3.v46@zorch.sf-bay.org>

Two weeks ago I announced MSSQL::OlleDB 2.000. That name was not popular
with the people on the Perl module list (since the module is Windows-only), 
so I've renamed the module to  Win32::SqlServer and changed the version 
number 2.001. I should add that this name much better describes the purpose 
of the module. Here follows text from the original announcement, adapted to 
the new name:

Despite the version number, this is actually a new module, but I versioned
it 2.001 as it it a successor to my older module MSSQL::Sqllib.
 
Win32::SqlServer is aimed to be the prime choice when you need to connect
to Microsoft SQL Server from Windows, and you do not have any requirement 
to be portable to any other DB engine or platform. Win32::SqlServer uses the 
OLE DB API to connect to SQL Server. With Win32::SqlServer you have access 
to about all  features in SQL Server 2005.
 
The module is on its way into CPAN. You can also download it from
http://www.sommarskog.se/mssqlperl/index.html.


-- 
Erland Sommarskog, Stockholm, esquel@sommarskog.se




------------------------------

Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>


Administrivia:

#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc.  For subscription or unsubscription requests, send
#the single line:
#
#	subscribe perl-users
#or:
#	unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.  

NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice. 

To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.

#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.

#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.


------------------------------
End of Perl-Users Digest V10 Issue 8721
***************************************


home help back first fref pref prev next nref lref last post