RE: :Socket::INET Handle problem

2005-03-08 Thread Joe Discenza
Title: IO::Socket::INET Handle problem Julian Brown wrote, on Mon 3/7/2005 18:17 I do an accept on a listener socket.: $new_sock = $listener-accept ();:: Then I create a hash reference to store some state information:: $hashref = {: 'socket' = $new_sock,: 'otherstuff' = "really cool

Re: IO::Socket::INET Handle problem

2005-03-08 Thread Julian Brown
Sisyphus Thanx, it seems Perl can be very subtle about things. :) Julian Sisyphus wrote: Julian Brown wrote: foreach $x_socket (keys %all_connections) { $hashref = $all_connections{$x_socket}; $socket = $hashref-{'socket'}; $fn = fileno ($socket); $fna = fileno ($x_socket); print FN ($fn)

Re: unpack returning an array?

2005-03-08 Thread Anton Ganeshalingam
Could someone please help me, implement the following code (http://www.elists.org/pipermail/delphi/2003-February/023198.html) in perl or atlease give me some ideas. I tried function like pack and it never worked correct. tks Anton ___

Re: IO::Socket::INET Handle problem

2005-03-08 Thread Sisyphus
Julian Brown wrote: Sisyphus Thanx, it seems Perl can be very subtle about things. :) Julian Yeah, Perl's good at concealing things from you. There's a nice little module called Devel::Peek, which lets you get a peek at what the variable *really* looks like. If, in your original script, you were

Re: unpack returning an array?

2005-03-08 Thread Sisyphus
Anton Ganeshalingam wrote: Could someone please help me, implement the following code (http://www.elists.org/pipermail/delphi/2003-February/023198.html) in perl or atlease give me some ideas. I tried function like pack and it never worked correct. use warnings; use strict; my $sentence = Hello

Re: unpack returning an array?

2005-03-08 Thread Anton Ganeshalingam
Sisyphus [EMAIL PROTECTED] writes: http://www.elists.org/pipermail/delphi/2003-February/023198.html Thanks for your reply. I changed the key and i tryed to decrypt string which was encrypted by a Delpi programe. But i couldn't get the original string. what could i be doing wrong ? tks A

Re: unpack returning an array?

2005-03-08 Thread Sisyphus
Anton Ganeshalingam wrote: Sisyphus [EMAIL PROTECTED] writes: http://www.elists.org/pipermail/delphi/2003-February/023198.html Thanks for your reply. I changed the key and i tryed to decrypt string which was encrypted by a Delpi programe. But i couldn't get the original string. what could i be

Re: unpack returning an array?

2005-03-08 Thread Sisyphus
Sisyphus wrote: It might be that the wide nature of the characters in the encrypted string is being lost when you transfer the encrypted string from your delphi program to your perl program. That would certainly stuff things up. If you print the encrypted string in your perl program, and you

Re: ....HttpSniffer.pl.txt = TCPDump

2005-03-08 Thread Jerry Kassebaum
I installed TCPDump. Now it looks like I need a log file to read, second line, below. What do I put into it? ## use Net::TcpDumpLog; $log = Net::TcpDumpLog-new(); $log-read(/tmp/out01); #$log = Net::TcpDumpLog-new(); $log-read(test.txt); #I tried putting a URL into the file #test.txt,

Win32::OLE - Setting VBA property

2005-03-08 Thread Suresh Govindachar
Hello, If myDestination is a folder in Microsoft Outlook VBA code, it is possible to execute a VBA line such as the following: myDestination.Items(1).UnRead = 1 This will mark the first mail inside the folder myDestination as unread (setting the mail item's UnRead property to true). I tried

Re: ....HttpSniffer.pl.txt = TCPDump

2005-03-08 Thread Chris Wagner
I never used that package but I think it's looking for a TCPDump log file. TCPDump is a program that dumps raw TCP packet info, not a perl package. So it seems like u should capture a log file with TCPDump and then analyze it with this package. At 09:09 PM 3/8/05 -0600, Jerry Kassebaum wrote: I

Re: unpack returning an array?

2005-03-08 Thread Anton Ganeshalingam
Rob, Here is the Delpi code: http://the.wall.riscom.net/books/delphi/del_tis/TI2803.html. Currently I'm cut and pasting the encrypted word from a file. I do not get any warnings. I'm posting the code I wrote where the decryption fn works ok but the encryption doesn't work. check it out.

RE: Win32::OLE - Setting VBA property

2005-03-08 Thread Jan Dubois
On Tue, 08 Mar 2005, Suresh Govindachar wrote: Hello, If myDestination is a folder in Microsoft Outlook VBA code, it is possible to execute a VBA line such as the following: myDestination.Items(1).UnRead = 1 This will mark the first mail inside the folder myDestination as unread

Re[3]: A problem with DBD-MySQL

2005-03-08 Thread George
Hello, Randy. you wrote Tuesday, March 8, 2005, 3:53:29 AM: RK I've put up a DBD-mysql ppm package built against RK mysql-4.1.10 at RKhttp://theoryx5.uwinnipeg.ca/ppms/ RK for ActivePerl builds 8xx. Does that work? ppm3 install DBD-mysql.ppd -force And I get the error: Note: Package

Strange VBA code works; but can't make it work in Win32::OLE perl

2005-03-08 Thread Suresh Govindachar
Hello again, In VBA and in Win32::OLE perl, I have code to traverse the folders in Microsoft Outlook and to figure out which folders have unread messages. My goal is that every folder that has unread messages should have all its parent-folders displayed in Outlook with [-]. By trial and error,

Re: A problem with DBD-MySQL

2005-03-08 Thread Sisyphus
George wrote: P.S. It says DEPENDENCY NAME=DBI VERSION=1,43,0,0 / I have 1.47 Is it Ok? Yep - it just means that you need 1.43 or later. Cheers, Rob ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: