Array of threads

2005-01-12 Thread knackko
Hello people! I need some help on threads. I did an array @cle. Foreach entries of @cle, i create a thread like this : *for($i=0;$i@lacle;$i++) #we create one thread by key { $thread[$i] = threads-new(\WaitRegEvent,$i,$lacle[$i]); } *So i did fantastic stuff in WaitRegEvent.

the win32 registry survey

2005-01-12 Thread knackko
Hello people! I am working at this time on a app which survey one or more keys/subkeys of the win32 registry. My app has got some lack of performance, i create one thread by key to survey. I use the $key-RegNotifyChangeKeyValue() function to detect a modification in the registry and i walk all

Modules for decoding MIME

2005-01-12 Thread Suresh Govindachar
Hello, I am looking for as simple and direct a way as possible to decode MIME encoded files (such as decoding Content-Type: text/plain; charset=iso-8859-1, Content-Transfer-Encoding: quoted-printable). Based on a book I looked at, I am considering looking at Eryq's MIME::Lite -- but that's a

Perl script and IBM-3278 formated data

2005-01-12 Thread Fabien Coutellier
Hello everybody, I work on a Windows computer with ActivePerl installed. I often use a 3278 emulator that permits me to have a 3278 terminal in a window, connected to an IBM OS/390 host. I would like to write a script that could automatically send commands to the IBM host. My idee is to use the

Win32::AdminMisc still doesn't work

2005-01-12 Thread Lyle Kopnicky
OK, I installed the latest version of ActivePerl on my PC - 5.8.6. It includes the Win32::AdminMisc module. I tried to run a simple program that just did a 'use Win32::AdminMisc;'. I got the following error dialog: perl.exe - Unable To Locate Component This application has failed to

RE: Win32::AdminMisc still doesn't work

2005-01-12 Thread Jan Dubois
On Wed, 12 Jan 2005, Lyle Kopnicky wrote: OK, I installed the latest version of ActivePerl on my PC - 5.8.6. It includes the Win32::AdminMisc module. I tried to run a simple program that just did a 'use Win32::AdminMisc;'. I got the following error dialog: perl.exe - Unable To Locate

Re: Win32::AdminMisc still doesn't work

2005-01-12 Thread Lyle Kopnicky
Jan Dubois wrote: On Wed, 12 Jan 2005, Lyle Kopnicky wrote: OK, I installed the latest version of ActivePerl on my PC - 5.8.6. It includes the Win32::AdminMisc module. I tried to run a simple program that just did a 'use Win32::AdminMisc;'. I got the following error dialog:

Re: Win32::AdminMisc still doesn't work

2005-01-12 Thread Lyle Kopnicky
Lyle Kopnicky wrote: Jan, You are correct. Now I have uninstalled ActivePerl, wiped out the C:\Perl directory, and reinstalled. I now see that AdminMisc is not included with ActivePerl - it just showed up last time because it was there when the documenation was generated. So, I reinstalled

Re: Win32::AdminMisc still doesn't work

2005-01-12 Thread Lyle Kopnicky
Lyle Kopnicky wrote: Never mind, I found it, downloaded it, put it in my C:\Windows\System directory, and the module now works. I hope the same will work on NT 4.0. I wonder why MSVCR70.dll isn't mentioned in the documentation for Win32::AdminMisc, and isn't installed automatically by PPM.

RE: Win32::AdminMisc still doesn't work

2005-01-12 Thread Jan Dubois
On Wed, 12 Jan 2005, Lyle Kopnicky wrote: I hope the same will work on NT 4.0. I wonder why MSVCR70.dll isn't mentioned in the documentation for Win32::AdminMisc, and isn't installed automatically by PPM. It is the C runtime library for Microsoft VC++ 7.0. Dave Roth used it to compile his

RE: Win32::AdminMisc still doesn't work

2005-01-12 Thread Jan Dubois
On Wed, 12 Jan 2005, Lyle Kopnicky wrote: Nope, it still doesn't work on NT 4.0 TSE. I still get: perl.exe - Entry Point Not Found The procedure entry point GlobalMemoryStatusEx could not be located in the dynamic link library KERNEL32.dll. As most of our customers' servers are

Discrepancy on time reported by system and localtime

2005-01-12 Thread Allegakoen, Justin Devanandan
On one of my WinXP machines I notice the following: c:\Perl\Programsperl system(date /t); system(time /t); print scalar localtime; ^D Thu 01/13/2005 03:26 PM Thu Jan 13 07:26:44 2005 c:\Perl\Programs Im in a GMT +8hrs timezone and the system time reports that correctly, but localtime seems to be