Re: Strawberry Perl Bugs Report

2006-10-26 Thread as-win32-users
On Mon, 23 Oct 2006, Michael Papet wrote: > After some more testing, errors appear related to > Log::Log4Perl > > This is the package that seems to trigger the > dependency to IO::Tty. Log::Log4perl does *not* depend on IO::Tty and works fine on Windows. If you see a problem, please narrow it do

RE: Time::HiRes inaccurate on win?

2006-10-26 Thread Jan Dubois
$Bill writes: > Works for me - the longer the time, the more accurate it should be since > timers don't have the same resolution that clocks do. I think they're > accurate to 10-15 msec on Intel and use message passing which could affect > shorter times. You can also use Win32::GetTickCount for a

Wrapper-initiated app doesn't return control

2006-10-26 Thread Dennis Daupert
I have a perl wrapper script that initiates three applications. First app is PuTTY's pageant, which holds the user's credentials, so that the second process, pscp, can securely login to remote server and copy a file over. wrapper starts pageant this way: my $pageant_cmd = "pageant $the->{key

Re: Time::HiRes inaccurate on win?

2006-10-26 Thread $Bill Luebkert
Daniel McBrearty wrote: > I wrote a script today that started a thread that was polling every > 1000ms. I used > > use Time::HiRes qw( usleep ); > usleep(1000 * 1000); > > I didn't get the stopwatch out, but it looked as if the timing was way > off. As I need to scale to much shorter timings, I

Re: help with sockets

2006-10-26 Thread $Bill Luebkert
Alejandro Santillan wrote: > The output was: > 8=FIX.4.0.C35=A52=10/26/2006 8:16:10 AM100=PFG10=999 > What is simply correct, but if I put 58 instead of 57, the program hangs > indefinitely. > Obviously I don't know the lengh fo the message beforehand. > > Anyone has any idea why this happens and

Re: OT -> "Deane screed"

2006-10-26 Thread Deane . Rothenmaier
Okay, I take back what I said about us not all being 14-year-olds Deane Rothenmaier Systems Architect Walgreens Corp. 847-914-5150 "Truth is eternal, knowledge is changeable.  It is disastrous to confuse them." -- Madeleine L'Engle___ Perl-Win32-Us

Time::HiRes inaccurate on win?

2006-10-26 Thread Daniel McBrearty
I wrote a script today that started a thread that was polling every 1000ms. I used use Time::HiRes qw( usleep ); usleep(1000 * 1000); I didn't get the stopwatch out, but it looked as if the timing was way off. As I need to scale to much shorter timings, I need to use this module. Does anyone els

Logger::Simple Deep Recursion Error

2006-10-26 Thread Michael Papet
Hi, I'm trying to use Logger::Simple in my program with an empty log file. When I go to nmake test I get the following error: "Deep recursion on subroutine "Logger::Simple::write" at C:/Perl/site/lib/Logger/Simple.pm line 84 (#3)" Relevent code from that file: push @{$$self{HISTORY}},

Re: OT -> "Deane screed"

2006-10-26 Thread Chris Wagner
At 08:16 AM 10/26/2006 -0500, [EMAIL PROTECTED] wrote: >USE ENGLISH, not IM-lish; this is NOT an AOL chat room, and we're not a >bunch of 14-year-olds. If ur is not a word then neither is PCMCIA nor BOFH nor "Deane". Good thing u work at Walgreens. U can get the employee discount on those enema

Re: help with sockets

2006-10-26 Thread Alejandro Santillan
Thanks Rob. I think that my problem is just the terminator character, but on the string sent by the server, and not mine. I am using this script now: use IO::Socket; # create a tcp connection to the specified host and port $handle = IO::Socket::INET->new(Proto => "tcp",

Re: help with sockets

2006-10-26 Thread Alejandro Santillan
Thanks Rob. I think that my problem is just the terminator character, but on the string sent by the server, and not mine. I am using this script now: use IO::Socket; # create a tcp connection to the specified host and port $handle = IO::Socket::INET->new(Proto => "tcp",

Re: OT: Parsing of HEX bytes using Perl

2006-10-26 Thread Huub Peters
As far as I can tell there is no need for you (Dharsana) to appologies. It was not you but Chris Wagner that used the IM-lish language. Normally I would not interfere in these discussions but when someone is complaining about 'protocols' (Deane Rothenmaier) while making a big mailing-list 'nono' h

Re: Parsing of HEX bytes using Perl

2006-10-26 Thread Dharshana Eswaran
Hi Deane Rothenmaier,I am sorry for using IM-lish. I will surely make sure that i don't commit this mistake again in any mailing lists. Since i was in a hurry, i did not notice the IM-lish language used by me. Sorry once again and Thanks for the feedback. I completely understand what you have told

Re: Parsing of HEX bytes using Perl

2006-10-26 Thread Deane . Rothenmaier
USE ENGLISH, not IM-lish; this is NOT an AOL chat room, and we're not a bunch of 14-year-olds. "Ur" is not a word, it is the name of an ancient Chaldean city. It's also a prefix meaning original or prototypical, as in "ur-lord," for you Thomas Covenant fans. What "ur" might mean to anyone for w