Win32::Perms memory leak ?

2003-02-24 Thread Bruno Ethvignot
I very often use the module Win32::Perms. I think that this module has an memory leak. Demonstration : - Run the script perms_test.pl at the end of this message). - Open the Task Manager of Windows 2000 - And look the perl.exe line. The memory usage grows all the time... Did I correctly use the

ppm3: http proxy

2003-02-24 Thread gerhard . petrowitsch
Hi all, I'm having a problem, using ppm3 over a HTTP proxy that requires authentication: If I set these environment var's HTTP_proxy HTTP_proxy_user HTTP_proxy_pass I can 'search' the Active Repository. But when I want to install a package I get this nasty error message: Error: error

Help with HTML::Parser

2003-02-24 Thread Malcolm Debono
Help please. I am getting an error. I don't know if the code is right Can't locate auto/HTML/Parser/.al in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at C:/Perl/site/lib/HTML/Parser.pm line 82 or if I use ('$content') #line 22 Can't locate auto/HTML/Parser/$content.al in @INC

Success--DBD-mysql on ActivePerl 5.8, using Perlapp, and NO ERRORS. :)

2003-02-24 Thread Scott Campbell
After testing some more with Randy Kobe's DBD-mysql builds and perlapp, I can now get a freestanding compiled app, using perlapp, and not get any errors upon runtime. So I'll share this with the community. Install DBD-mysql module from Randy's site: ppm install

RE: Help with HTML::Parser

2003-02-24 Thread Scot Robnett
Is HTML::Parser in your Perl path? If not, right underneath your shebang line, do BEGIN { unshift(@INC,/path/to/HTML) # Parser.pm is under the HTML directory and # Perl will automatically find recursively } Otherwise I think there may be an issue with your HTML::Parser installation (missing

Re: threads question

2003-02-24 Thread Jonathan Epstein
Eric, Being curious about this question (and a related one a few days ago), I did some google searches and learned about Tk::after. See: http://www.mathematik.uni-ulm.de/help/perl5/doc/Tk/after.html Since apparently Tk itself isn't considered to be thread-safe, I wonder whether in this case

RE: Help with HTML::Parser

2003-02-24 Thread Scot Robnett
Sorry, did a no-no and forgot the semicolon. Should have been BEGIN { unshift(@INC,/path/to/HTML); } Haven't finished my coffee yet this morning. - Scot Robnett inSite Internet Solutions [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: threads question

2003-02-24 Thread Jonathan Epstein
Following up on my own message ... from: http://search.cpan.org/author/BBIRTH/Win32-SerialPort-0.19/lib/Win32/SerialPort.pm Asynchronous (Background) I/O The module handles Polling (do if Ready), Synchronous (block until Ready), and Asynchronous Modes (begin and test if Ready) with the timeout

RE: threads question

2003-02-24 Thread Hawley, Eric
want to say thanks for your input, later this evening I will be getting back to working on this project. I will definetly look into your suggestions and once I find the solution I can repost so that everyone can take a look at it if they so wish to. Once again thanks for your suggestions. -Eric

Win32::Job

2003-02-24 Thread Williams, Jeff
Hello all, I'm looking for some guidance on how to use the Win32::Job module. I have a script that kicks off a windoze app (using Win32::Process), then process the logs from the app. The only problem is that the app the script starts kicks off two other apps. My script does exactly what

cloning objects?

2003-02-24 Thread Peter A. Peterson II
Hi all, I am modifying someone else's code, and I've run into a bit of a snag (surprise). The code creates a mail object with the message, addresses, subject, etc., as well as methods such as send(). Many different scripts create these mail objecst and then hand them to another script which does

RE: cloning objects?

2003-02-24 Thread Peter Eisengrein
Its not clear (to me) what you mean. Sounds like you want to send the same message to all sub-sets of users on a list. True? If so, something like this? # untested my $i; my $inc = 10; # or whatever number you want to use for subset size my $message = This is my email message.; my $subject =

how can i catch Ctrl - D

2003-02-24 Thread Ali, Imran
Hi all. I am having a script which produces a lots of data, and i want my script to halt and take another set of data from input, when i put ctrl-D. How can i make my script to listen Ctrl-D. thanx in advance. Imran ___ Perl-Win32-Users mailing

RE: how can i catch Ctrl - D

2003-02-24 Thread Peter Eisengrein
See: perldoc perlipc I haven't tried it much, but from what I understand signals don't work, or don't work well, on Windows. -Original Message- From: Ali, Imran [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 1:38 PM To: '[EMAIL PROTECTED]' Subject: how can i catch Ctrl - D

Re: cloning objects?

2003-02-24 Thread Peter A. Peterson II
Quoting Peter Eisengrein: Its not clear (to me) what you mean. Sounds like you want to send the same message to all sub-sets of users on a list. True? Well, that would work if I just took the information out of the mail object and sent it manually... but now that I look at the code with new

Perldoc in Windows produces odd output

2003-02-24 Thread Franz, Roger
When I run perldoc in windows ME, the output is offset; it's as if the program is not sending linefeeds/carriage returns in the proper places. I've seen this reported here before: http://aspn.activestate.com/ASPN/Mail/Message/1510037 and

MS Win 2K Version

2003-02-24 Thread LViale - TiscaliNet
Subject: MS Win 2K Version Hi all Does someone know how to get from registry the exact version of MS Win 2k (Professional, Server, Advanced Server, ...). I found references and Perl--functions useful to get the Build and Service Pack Level, but not the OS Type (Pro, Srv, Adv srv, ...).

Re: MS Win 2K Version

2003-02-24 Thread Thomas R Wyant_III
LViale - TiscaliNet [EMAIL PROTECTED] wrote: Does someone know how to get from registry the exact version of MS Win 2k (Professional, Server, Advanced Server, ...). The WMI Win32_OperatingSystem object has attribute Caption which says Microsoft Windows 2000 Professional on my desktop

convert new line to line feed or carriage return

2003-02-24 Thread vitaly
Hi all, how could I convert new line to line feed(0x0A) or carriage return(0x0D,0x0A)? thanks. ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Help with HTML::Parser

2003-02-24 Thread Malcolm Debono
Thanks for emails. Can you please let me know how to uninstall the HTML::Parser. Then I will reinstall it. This email may be duplicated. Malcolm - Original Message - From: Scot Robnett [EMAIL PROTECTED] To: Malcolm Debono [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, February 24,

RE: Help with HTML::Parser

2003-02-24 Thread Scot Robnett
Use ppm to verify your installation is up to date. C:\WINNT\SYSTEM32 ppm PPM interactive shell (2.1.5) - type 'help' for available commands. PPM verify HTML::Parser Package 'HTML-Parser' is up to date. PPM If it says that an upgrade is available,

RE: Perldoc in Windows produces odd output

2003-02-24 Thread Burak Gürsoy
well... it looks like the only solution is to install the new perldoc: http://search.cpan.org/author/SBURKE/Pod-Perldoc/ It solved my problem. this was also discussed in pod-people -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Franz, Roger Sent:

Does mouse input work with Console.pm under Windows 2000?

2003-02-24 Thread Levner, David \[JJCUS Non JJ\]
Title: Does mouse input work with Console.pm under Windows 2000? Hi, I'm trying to write a program that runs in a command window and accepts mouse input. So far, I am not succeeding. Here is some sample code that uses Console.pm: test-mouse.pl The program never sees my mouse clicks.

Re: Does mouse input work with Console.pm under Windows 2000?

2003-02-24 Thread $Bill Luebkert
Levner, David [JJCUS Non JJ] wrote: Hi, I'm trying to write a program that runs in a command window and accepts mouse input. So far, I am not succeeding. Here is some sample code that uses Console.pm: test-mouse.pl The program never sees my mouse clicks. Any suggestions would be most welcome.