[perl-win32-gui-users] Win32::GUI::Timer memory leak?
Is there a known memory problem with the GUI module and/or the Timer object? I have a script that runs through a _Timer sub once per second and increments a var (like $count++) and writes it to a Label. Just sitting there quietly doing nothing more than that adds 4k to the process' memory every second or two (or three -- it's not very exact). I would expect a *little* more memory to be used but these 4k's add up over time. Just curious. Pete
Re: [perl-win32-gui-users] Win32::GUI::Timer memory leak?
Peter Eisengrein wrote: > Is there a known memory problem with the GUI module and/or the Timer object? > I have a script that runs through a _Timer sub once per second and > increments a var (like $count++) and writes it to a Label. Just sitting > there quietly doing nothing more than that adds 4k to the process' memory > every second or two (or three -- it's not very exact). I would expect a > *little* more memory to be used but these 4k's add up over time. > > Just curious. yes, there was a memory leak but it should have been fixed is one of the last releases. which version of Win32::GUI are you using right now? cheers, Aldo __END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print;
RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak?
> yes, there was a memory leak but it should have been fixed is > one of the > last releases. which version of Win32::GUI are you using right now? 0.0.502 -- I actually just pulled it off your site maybe two weeks ago. Is there an even newer version? Thanks for your help -- I love this module!
Re: [perl-win32-gui-users] Win32::GUI::Timer memory leak?
Peter Eisengrein wrote: > 0.0.502 -- I actually just pulled it off your site maybe two weeks ago. > Is there an even newer version? Thanks for your help -- I love this > module! uhm... my site contains version 0.0.558, it was uploaded on 22 Jan 2001. you probably have a (way too much) caching proxy :-) cheers, Aldo __END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print;
RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak?
Tried again, got 502. see below... C:\ActivePerl\lib\gui>ppm install --location=http://dada.perl.it/PPM Win32-GUI Retrieving package 'Win32-GUI'... Writing C:\ActivePerl\site\lib\auto\Win32\GUI\.packlist C:\ActivePerl\lib\gui>ppm PPM interactive shell (2.0) - type 'help' for available commands. PPM> query Archive-Tar [0.072 ] module for manipulation of tar archives. Compress-Zlib [1.03 ] Interface to zlib compression library HTML-Parser [2.23 ] SGML parser class MIME-Base64 [2.11 ] Encoding and decoding of base64 strings Net-Telnet[3.02 ] Interact with TELNET port or other TCP ports PPM [2 ] Perl Package Manager: locate, install, upgrade software packages. Tk[800.022] Tk - a Graphical User Interface Toolkit URI [1.04 ] Uniform Resource Identifiers (absolute and relative) Win32-API [0.01 ] Implementation of arbitrary Win32 APIs. Win32-GUI [0.0.502] Perl-Win32 Graphical User Interface Extension XML-Element [1.07 ] Base element class for XML elements XML-Parser[2.27 ] A Perl module for parsing XML documents libwin32 [0.16 ] A collection of extensions that aims to provide comprehensive access to the Windows API. libwww-perl [5.45 ] Library for WWW access in Perl PPM> > -Original Message- > From: Peter Eisengrein > Sent: Monday, June 04, 2001 9:17 AM > To: 'perl-win32-gui-users@lists.sourceforge.net' > Subject: RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak? > > > I see the 0.0.558 tar.gz version on your site but your /ppm > still says 502, which is where I got it from. Is that accurate? > > > -Original Message- > > From: Aldo Calpini [mailto:[EMAIL PROTECTED] > > Sent: Monday, June 04, 2001 4:56 AM > > To: Peter Eisengrein > > Subject: Re: [perl-win32-gui-users] Win32::GUI::Timer memory leak? > > > > > > Peter Eisengrein wrote: > > > 0.0.502 -- I actually just pulled it off your site maybe > > two weeks ago. > > > Is there an even newer version? Thanks for your help -- I > love this > > > module! > > > > uhm... my site contains version 0.0.558, it was uploaded on > > 22 Jan 2001. > > you probably have a (way too much) caching proxy :-) > > > > > > cheers, > > Aldo > > > > __END__ > > $_=q,just perl,,s, , another ,,s,$, hacker,,print; > > > > > > > > ___ > > Perl-Win32-GUI-Users mailing list > > Perl-Win32-GUI-Users@lists.sourceforge.net > > http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > > >
RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak?
I see the 0.0.558 tar.gz version on your site but your /ppm still says 502, which is where I got it from. Is that accurate? > -Original Message- > From: Aldo Calpini [mailto:[EMAIL PROTECTED] > Sent: Monday, June 04, 2001 4:56 AM > To: Peter Eisengrein > Subject: Re: [perl-win32-gui-users] Win32::GUI::Timer memory leak? > > > Peter Eisengrein wrote: > > 0.0.502 -- I actually just pulled it off your site maybe > two weeks ago. > > Is there an even newer version? Thanks for your help -- I love this > > module! > > uhm... my site contains version 0.0.558, it was uploaded on > 22 Jan 2001. > you probably have a (way too much) caching proxy :-) > > > cheers, > Aldo > > __END__ > $_=q,just perl,,s, , another ,,s,$, hacker,,print; > > > > ___ > Perl-Win32-GUI-Users mailing list > Perl-Win32-GUI-Users@lists.sourceforge.net > http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users >
RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak?
Perl 5.6 has the latest version on Activestates PPM. C:\>perl -v This is perl, v5.6.1 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2001, Larry Wall Binary build 626 provided by ActiveState Tool Corp. http://www.ActiveState.com Built 01:31:15 May 2 2001 Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.com/, the Perl Home Page. C:\>ppm search Win32-GUI Packages available from http://ppm.ActiveState.com/cgibin/PPM/ppmserver.pl?urn:/PPMServer: Win32-GUI [0.0.558] Win32 Graphical User Interface Extension Win32-GuiTest [0.9] Perl GUI Test Utilities I didnt install from there since I already had downloaded the zip file and installed before I found out it was on the AS server repository, but, one source is as good as another right? Also, you could download the zip and install via ppm from the zip file contents localy. I used to have to do this at my old job since I could never get ppm to work through the firewall there > -Original Message- > From: Peter Eisengrein [mailto:[EMAIL PROTECTED] > Sent: Monday, June 04, 2001 09:23 > To: 'perl-win32-gui-users@lists.sourceforge.net' > Subject: RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak? > > > Tried again, got 502. see below... > > C:\ActivePerl\lib\gui>ppm install --location=http://dada.perl.it/PPM > Win32-GUI > Retrieving package 'Win32-GUI'... > Writing C:\ActivePerl\site\lib\auto\Win32\GUI\.packlist > > C:\ActivePerl\lib\gui>ppm > PPM interactive shell (2.0) - type 'help' for available commands. > PPM> query > Archive-Tar [0.072 ] module for manipulation of tar archives. > Compress-Zlib [1.03 ] Interface to zlib compression library > HTML-Parser [2.23 ] SGML parser class > MIME-Base64 [2.11 ] Encoding and decoding of base64 strings > Net-Telnet[3.02 ] Interact with TELNET port or other TCP ports > PPM [2 ] Perl Package Manager: locate, install, upgrade > software > packages. > Tk[800.022] Tk - a Graphical User Interface Toolkit > URI [1.04 ] Uniform Resource Identifiers > (absolute and relative) > Win32-API [0.01 ] Implementation of arbitrary Win32 APIs. > Win32-GUI [0.0.502] Perl-Win32 Graphical User Interface Extension > XML-Element [1.07 ] Base element class for XML elements > XML-Parser[2.27 ] A Perl module for parsing XML documents > libwin32 [0.16 ] A collection of extensions that aims > to provide > comprehensive access to the Windows API. > libwww-perl [5.45 ] Library for WWW access in Perl > PPM> > > > > -Original Message----- > > From: Peter Eisengrein > > Sent: Monday, June 04, 2001 9:17 AM > > To: 'perl-win32-gui-users@lists.sourceforge.net' > > Subject: RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak? > > > > > > I see the 0.0.558 tar.gz version on your site but your /ppm > > still says 502, which is where I got it from. Is that accurate? > > > > > -Original Message- > > > From: Aldo Calpini [mailto:[EMAIL PROTECTED] > > > Sent: Monday, June 04, 2001 4:56 AM > > > To: Peter Eisengrein > > > Subject: Re: [perl-win32-gui-users] Win32::GUI::Timer memory leak? > > > > > > > > > Peter Eisengrein wrote: > > > > 0.0.502 -- I actually just pulled it off your site maybe > > > two weeks ago. > > > > Is there an even newer version? Thanks for your help -- I > > love this > > > > module! > > > > > > uhm... my site contains version 0.0.558, it was uploaded on > > > 22 Jan 2001. > > > you probably have a (way too much) caching proxy :-) > > > > > > > > > cheers, > > > Aldo > > > > > > __END__ > > > $_=q,just perl,,s, , another ,,s,$, hacker,,print; > > > > > > > > > > > > ___ > > > Perl-Win32-GUI-Users mailing list > > > Perl-Win32-GUI-Users@lists.sourceforge.net > > > http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > > > > > > > ___ > Perl-Win32-GUI-Users mailing list > Perl-Win32-GUI-Users@lists.sourceforge.net > http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users >
RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak?
I've tried to install via ppm from the zip file but always get "Could not locate a PPD" error. Can someone send the syntax on how to do this? I assumed it would be ppm install --location="filepath\filename" Win32-GUI Apparently not. THanks for your help. > -Original Message- > From: Frazier, Joe Jr [mailto:[EMAIL PROTECTED] > Sent: Monday, June 04, 2001 10:53 AM > To: perl-win32-gui-users@lists.sourceforge.net > Subject: RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak? > > > Perl 5.6 has the latest version on Activestates PPM. > > C:\>perl -v > > This is perl, v5.6.1 built for MSWin32-x86-multi-thread > (with 1 registered patch, see perl -V for more detail) > > Copyright 1987-2001, Larry Wall > > Binary build 626 provided by ActiveState Tool Corp. > http://www.ActiveState.com > Built 01:31:15 May 2 2001 > > > Perl may be copied only under the terms of either the Artistic License > or the > GNU General Public License, which may be found in the Perl 5 > source kit. > > Complete documentation for Perl, including FAQ lists, should > be found on > this system using `man perl' or `perldoc perl'. If you have access to > the > Internet, point your browser at http://www.perl.com/, the Perl Home > Page. > > > C:\>ppm search Win32-GUI > Packages available from > http://ppm.ActiveState.com/cgibin/PPM/ppmserver.pl?urn:/PPMServer: > Win32-GUI [0.0.558] Win32 Graphical User Interface Extension > Win32-GuiTest [0.9] Perl GUI Test Utilities > > I didnt install from there since I already had downloaded the zip file > and installed before I found out it was on the AS server repository, > but, one source is as good as another right? Also, you could download > the zip and install via ppm from the zip file contents localy. I used > to have to do this at my old job since I could never get ppm to work > through the firewall there > > > > > -Original Message----- > > From: Peter Eisengrein [mailto:[EMAIL PROTECTED] > > Sent: Monday, June 04, 2001 09:23 > > To: 'perl-win32-gui-users@lists.sourceforge.net' > > Subject: RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak? > > > > > > Tried again, got 502. see below... > > > > C:\ActivePerl\lib\gui>ppm install --location=http://dada.perl.it/PPM > > Win32-GUI > > Retrieving package 'Win32-GUI'... > > Writing C:\ActivePerl\site\lib\auto\Win32\GUI\.packlist > > > > C:\ActivePerl\lib\gui>ppm > > PPM interactive shell (2.0) - type 'help' for available commands. > > PPM> query > > Archive-Tar [0.072 ] module for manipulation of tar archives. > > Compress-Zlib [1.03 ] Interface to zlib compression library > > HTML-Parser [2.23 ] SGML parser class > > MIME-Base64 [2.11 ] Encoding and decoding of base64 strings > > Net-Telnet[3.02 ] Interact with TELNET port or other TCP ports > > PPM [2 ] Perl Package Manager: locate, > install, upgrade > > software > > packages. > > Tk[800.022] Tk - a Graphical User Interface Toolkit > > URI [1.04 ] Uniform Resource Identifiers > > (absolute and relative) > > Win32-API [0.01 ] Implementation of arbitrary Win32 APIs. > > Win32-GUI [0.0.502] Perl-Win32 Graphical User Interface > Extension > > XML-Element [1.07 ] Base element class for XML elements > > XML-Parser[2.27 ] A Perl module for parsing XML documents > > libwin32 [0.16 ] A collection of extensions that aims > > to provide > > comprehensive access to the Windows API. > > libwww-perl [5.45 ] Library for WWW access in Perl > > PPM> > > > > > > > -Original Message- > > > From: Peter Eisengrein > > > Sent: Monday, June 04, 2001 9:17 AM > > > To: 'perl-win32-gui-users@lists.sourceforge.net' > > > Subject: RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak? > > > > > > > > > I see the 0.0.558 tar.gz version on your site but your /ppm > > > still says 502, which is where I got it from. Is that accurate? > > > > > > > -Original Message- > > > > From: Aldo Calpini [mailto:[EMAIL PROTECTED] > > > > Sent: Monday, June 04, 2001 4:56 AM > > > > To: Peter Eisengrein > > > > Subject: Re: [perl-win32-gui-users] Win32::GUI::Timer > memory leak? > > > > > > > > > > > > Peter Eisengrein wrote: > > > > > 0.0.502 -
RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak?
Unzip to (example) c:\gui\. cd c:\gui. type: c:\>ppm install Win32-GUI.ppd Basically, you leave out the location part and actually cd to that folder from your shell. make sure you put the file extension, so that ppm knows to load it from the local machine instead of getting it from a repository. As I said, I had to do this at my old job and was able to install 10+ modules in this manner on 7 machines. BUT, one other thing to note is what version of PERL are you running? 5.005_3 does not have a ppd file for Win32::GUI 0.0.558 and ( Someone correct me if I am wrong) you cannot build Win32::GUI 0.0.558 under the older builds of Perl. This MAY be why you got the 0.0.502 version since the ppm can tell what version of Perl you have and install the appropriate module. If you have perl 5.6+, you should be able to "ppm install Win32::GUI" and it will install correctly from the AS repository. If not, you are probably limited to 0.0.502 unless you upgrade. > -Original Message- > From: Peter Eisengrein [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 05, 2001 09:15 > To: 'perl-win32-gui-users@lists.sourceforge.net' > Subject: RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak? > > > I've tried to install via ppm from the zip file but always > get "Could not > locate a PPD" error. Can someone send the syntax on how to do this? I > assumed it would be > > ppm install --location="filepath\filename" Win32-GUI > > Apparently not. THanks for your help. > > > -Original Message- > > From: Frazier, Joe Jr [mailto:[EMAIL PROTECTED] > > Sent: Monday, June 04, 2001 10:53 AM > > To: perl-win32-gui-users@lists.sourceforge.net > > Subject: RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak? > > > > > > Perl 5.6 has the latest version on Activestates PPM. > > > > C:\>perl -v > > > > This is perl, v5.6.1 built for MSWin32-x86-multi-thread > > (with 1 registered patch, see perl -V for more detail) > > > > Copyright 1987-2001, Larry Wall > > > > Binary build 626 provided by ActiveState Tool Corp. > > http://www.ActiveState.com > > Built 01:31:15 May 2 2001 > > > > > > Perl may be copied only under the terms of either the > Artistic License > > or the > > GNU General Public License, which may be found in the Perl 5 > > source kit. > > > > Complete documentation for Perl, including FAQ lists, should > > be found on > > this system using `man perl' or `perldoc perl'. If you > have access to > > the > > Internet, point your browser at http://www.perl.com/, the Perl Home > > Page. > > > > > > C:\>ppm search Win32-GUI > > Packages available from > > http://ppm.ActiveState.com/cgibin/PPM/ppmserver.pl?urn:/PPMServer: > > Win32-GUI [0.0.558] Win32 Graphical User Interface Extension > > Win32-GuiTest [0.9] Perl GUI Test Utilities > > > > I didnt install from there since I already had downloaded > the zip file > > and installed before I found out it was on the AS server repository, > > but, one source is as good as another right? Also, you > could download > > the zip and install via ppm from the zip file contents > localy. I used > > to have to do this at my old job since I could never get ppm to work > > through the firewall there > > > > > > > > > -Original Message- > > > From: Peter Eisengrein [mailto:[EMAIL PROTECTED] > > > Sent: Monday, June 04, 2001 09:23 > > > To: 'perl-win32-gui-users@lists.sourceforge.net' > > > Subject: RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak? > > > > > > > > > Tried again, got 502. see below... > > > > > > C:\ActivePerl\lib\gui>ppm install > --location=http://dada.perl.it/PPM > > > Win32-GUI > > > Retrieving package 'Win32-GUI'... > > > Writing C:\ActivePerl\site\lib\auto\Win32\GUI\.packlist > > > > > > C:\ActivePerl\lib\gui>ppm > > > PPM interactive shell (2.0) - type 'help' for available commands. > > > PPM> query > > > Archive-Tar [0.072 ] module for manipulation of tar archives. > > > Compress-Zlib [1.03 ] Interface to zlib compression library > > > HTML-Parser [2.23 ] SGML parser class > > > MIME-Base64 [2.11 ] Encoding and decoding of base64 strings > > > Net-Telnet[3.02 ] Interact with TELNET port or > other TCP ports > > > PPM [2 ] Perl Package Manager: locate, > > install, upgrade >
RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak?
Ah, yes, now that you mention it - I found the same thing. So I just downloaded the zip file, unzipped in a directory I use for modules that cannot be installed automatically, and then manually copied some things to the real Perl tree. I still use the the unzipped package for documentation. I'd be interested to know how to create a PPD file, though. What should be in it? Anyone? Cheers, At 09:15 2001-06-05 -0400, Peter Eisengrein wrote: >I've tried to install via ppm from the zip file but always get "Could not >locate a PPD" error. Can someone send the syntax on how to do this? I >assumed it would be > >ppm install --location="filepath\filename" Win32-GUI > >Apparently not. THanks for your help. > >> -Original Message- >> From: Frazier, Joe Jr [mailto:[EMAIL PROTECTED] >> Sent: Monday, June 04, 2001 10:53 AM >> To: perl-win32-gui-users@lists.sourceforge.net >> Subject: RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak? >> >> >> Perl 5.6 has the latest version on Activestates PPM. >> >> C:\>perl -v >> >> This is perl, v5.6.1 built for MSWin32-x86-multi-thread >> (with 1 registered patch, see perl -V for more detail) >> >> Copyright 1987-2001, Larry Wall >> >> Binary build 626 provided by ActiveState Tool Corp. >> http://www.ActiveState.com >> Built 01:31:15 May 2 2001 >> >> >> Perl may be copied only under the terms of either the Artistic License >> or the >> GNU General Public License, which may be found in the Perl 5 >> source kit. >> >> Complete documentation for Perl, including FAQ lists, should >> be found on >> this system using `man perl' or `perldoc perl'. If you have access to >> the >> Internet, point your browser at http://www.perl.com/, the Perl Home >> Page. >> >> >> C:\>ppm search Win32-GUI >> Packages available from >> http://ppm.ActiveState.com/cgibin/PPM/ppmserver.pl?urn:/PPMServer: >> Win32-GUI [0.0.558] Win32 Graphical User Interface Extension >> Win32-GuiTest [0.9] Perl GUI Test Utilities >> >> I didnt install from there since I already had downloaded the zip file >> and installed before I found out it was on the AS server repository, >> but, one source is as good as another right? Also, you could download >> the zip and install via ppm from the zip file contents localy. I used >> to have to do this at my old job since I could never get ppm to work >> through the firewall there >> >> >> >> > -Original Message- >> > From: Peter Eisengrein [mailto:[EMAIL PROTECTED] >> > Sent: Monday, June 04, 2001 09:23 >> > To: 'perl-win32-gui-users@lists.sourceforge.net' >> > Subject: RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak? >> > >> > >> > Tried again, got 502. see below... >> > >> > C:\ActivePerl\lib\gui>ppm install --location=http://dada.perl.it/PPM >> > Win32-GUI >> > Retrieving package 'Win32-GUI'... >> > Writing C:\ActivePerl\site\lib\auto\Win32\GUI\.packlist >> > >> > C:\ActivePerl\lib\gui>ppm >> > PPM interactive shell (2.0) - type 'help' for available commands. >> > PPM> query >> > Archive-Tar [0.072 ] module for manipulation of tar archives. >> > Compress-Zlib [1.03 ] Interface to zlib compression library >> > HTML-Parser [2.23 ] SGML parser class >> > MIME-Base64 [2.11 ] Encoding and decoding of base64 strings >> > Net-Telnet[3.02 ] Interact with TELNET port or other TCP ports >> > PPM [2 ] Perl Package Manager: locate, >> install, upgrade >> > software >> > packages. >> > Tk[800.022] Tk - a Graphical User Interface Toolkit >> > URI [1.04 ] Uniform Resource Identifiers >> > (absolute and relative) >> > Win32-API [0.01 ] Implementation of arbitrary Win32 APIs. >> > Win32-GUI [0.0.502] Perl-Win32 Graphical User Interface >> Extension >> > XML-Element [1.07 ] Base element class for XML elements >> > XML-Parser[2.27 ] A Perl module for parsing XML documents >> > libwin32 [0.16 ] A collection of extensions that aims >> > to provide >> > comprehensive access to the Windows API. >> > libwww-perl [5.45 ] Library for WWW access in Perl >> > PPM> >> > >> > >> > > -Original Message- >> > >
RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak?
Joe, thanks for all your help but, man I'm getting nowhere fast! I downloaded the Win-GUI-0.0.558.tar.gz, extracted it and tried doing the install as you described and again no deal (no ppd in the archive). Then I tried doing another install from AS and I'm still on 0.0.502. C:\ActivePerl\lib\gui\Win32-GUI-0.0.558>perl -v This is perl, v5.6.0 built for MSWin32-x86-multi-thread C:\ActivePerl\lib\gui\Win32-GUI-0.0.558>ppm install Win32-GUI.ppd Retrieving package 'Win32-GUI.ppd'... Error installing package 'Win32-GUI.ppd': Could not locate a PPD file for package Win32-GUI.ppd C:\ActivePerl\lib\gui\Win32-GUI-0.0.558>ppm install Win32::GUI Retrieving package 'Win32-GUI'... Writing C:\ActivePerl\site\lib\auto\Win32\GUI\.packlist C:\ActivePerl\lib\gui\Win32-GUI-0.0.558>ppm PPM interactive shell (2.0) - type 'help' for available commands. PPM> query Archive-Tar [0.072 ] module for manipulation of tar archives. Compress-Zlib [1.03 ] Interface to zlib compression library HTML-Parser [2.23 ] SGML parser class MIME-Base64 [2.11 ] Encoding and decoding of base64 strings Net-Telnet[3.02 ] Interact with TELNET port or other TCP ports PPM [2 ] Perl Package Manager: locate, install, upgrade software packages. Tk[800.022] Tk - a Graphical User Interface Toolkit URI [1.04 ] Uniform Resource Identifiers (absolute and relative) Win32-API [0.01 ] Implementation of arbitrary Win32 APIs. Win32-GUI [0.0.502] Perl-Win32 Graphical User Interface Extension XML-Element [1.07 ] Base element class for XML elements XML-Parser[2.27 ] A Perl module for parsing XML documents libwin32 [0.16 ] A collection of extensions that aims to provide comprehensive access to the Windows API. libwww-perl [5.45 ] Library for WWW access in Perl >
RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak?
http://Jenda.Krynicky.cz used to have information on this. Not sure if it still does. > -Original Message- > From: Marjolein Katsma [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 05, 2001 10:15 > To: perl-win32-gui-users@lists.sourceforge.net > Subject: RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak? > > > Ah, yes, now that you mention it - I found the same thing. So > I just downloaded the zip file, unzipped in a directory I use > for modules that cannot be installed automatically, and then > manually copied some things to the real Perl tree. I still > use the the unzipped package for documentation. > > I'd be interested to know how to create a PPD file, though. > What should be in it? Anyone? > > Cheers, > > At 09:15 2001-06-05 -0400, Peter Eisengrein wrote: > >I've tried to install via ppm from the zip file but always > get "Could not > >locate a PPD" error. Can someone send the syntax on how to do this? I > >assumed it would be > > > >ppm install --location="filepath\filename" Win32-GUI > > > >Apparently not. THanks for your help. > > > >> -Original Message- > >> From: Frazier, Joe Jr [mailto:[EMAIL PROTECTED] > >> Sent: Monday, June 04, 2001 10:53 AM > >> To: perl-win32-gui-users@lists.sourceforge.net > >> Subject: RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak? > >> > >> > >> Perl 5.6 has the latest version on Activestates PPM. > >> > >> C:\>perl -v > >> > >> This is perl, v5.6.1 built for MSWin32-x86-multi-thread > >> (with 1 registered patch, see perl -V for more detail) > >> > >> Copyright 1987-2001, Larry Wall > >> > >> Binary build 626 provided by ActiveState Tool Corp. > >> http://www.ActiveState.com > >> Built 01:31:15 May 2 2001 > >> > >> > >> Perl may be copied only under the terms of either the > Artistic License > >> or the > >> GNU General Public License, which may be found in the Perl 5 > >> source kit. > >> > >> Complete documentation for Perl, including FAQ lists, should > >> be found on > >> this system using `man perl' or `perldoc perl'. If you > have access to > >> the > >> Internet, point your browser at http://www.perl.com/, the Perl Home > >> Page. > >> > >> > >> C:\>ppm search Win32-GUI > >> Packages available from > >> http://ppm.ActiveState.com/cgibin/PPM/ppmserver.pl?urn:/PPMServer: > >> Win32-GUI [0.0.558] Win32 Graphical User Interface Extension > >> Win32-GuiTest [0.9] Perl GUI Test Utilities > >> > >> I didnt install from there since I already had downloaded > the zip file > >> and installed before I found out it was on the AS server > repository, > >> but, one source is as good as another right? Also, you > could download > >> the zip and install via ppm from the zip file contents > localy. I used > >> to have to do this at my old job since I could never get > ppm to work > >> through the firewall there > >> > >> > >> > >> > -Original Message- > >> > From: Peter Eisengrein [mailto:[EMAIL PROTECTED] > >> > Sent: Monday, June 04, 2001 09:23 > >> > To: 'perl-win32-gui-users@lists.sourceforge.net' > >> > Subject: RE: [perl-win32-gui-users] Win32::GUI::Timer > memory leak? > >> > > >> > > >> > Tried again, got 502. see below... > >> > > >> > C:\ActivePerl\lib\gui>ppm install > --location=http://dada.perl.it/PPM > >> > Win32-GUI > >> > Retrieving package 'Win32-GUI'... > >> > Writing C:\ActivePerl\site\lib\auto\Win32\GUI\.packlist > >> > > >> > C:\ActivePerl\lib\gui>ppm > >> > PPM interactive shell (2.0) - type 'help' for available commands. > >> > PPM> query > >> > Archive-Tar [0.072 ] module for manipulation of tar archives. > >> > Compress-Zlib [1.03 ] Interface to zlib compression library > >> > HTML-Parser [2.23 ] SGML parser class > >> > MIME-Base64 [2.11 ] Encoding and decoding of base64 strings > >> > Net-Telnet[3.02 ] Interact with TELNET port or > other TCP ports > >> > PPM [2 ] Perl Package Manager: locate, > >> install, upgrade > >> > software > >> >
RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak?
Joe, Thanks I found it! For anyone interested, it's at http://jenda.krynicky.cz/perl/PPM.html At 10:29 2001-06-05 -0400, Frazier, Joe Jr wrote: >http://Jenda.Krynicky.cz used to have information on this. Not sure if >it still does. > >> -Original Message- >> From: Marjolein Katsma [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, June 05, 2001 10:15 >> To: perl-win32-gui-users@lists.sourceforge.net >> Subject: RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak? >> >> >> Ah, yes, now that you mention it - I found the same thing. So >> I just downloaded the zip file, unzipped in a directory I use >> for modules that cannot be installed automatically, and then >> manually copied some things to the real Perl tree. I still >> use the the unzipped package for documentation. >> >> I'd be interested to know how to create a PPD file, though. >> What should be in it? Anyone? >> >> Cheers, >> Cheers, Marjolein Katsma HomeSite Help - http://hshelp.com/ - Extensions, Tips and Tools
RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak?
That file is the source code and would have to be installed using the following steps: cd to the folder you unziped to: perl makefile.pl nmake nmake test nmake install This assumes you have nmake. If not, you can get it from MS ftp. I dont know exactly where it is now, but you could go to MS site and perform a search. OR... http://www.activestate.com/PPMPackages/zips/6xx-builds-only/win32-gui.zi p. THIS contains the ppd file for install. 1) unzip 2) cd to foldery where you unziped files 3) type "ppm install Win32-GUI.ppd" Can you not install any packages via ppm? If you can, as I said earlier, you can just install directly from AS repository by typeing "ppm install Win32-GUI" and it will download from AS and install. If you CANNOT ppm from AS ( and I doubt it unless you have the wrong installation path in your ppm config) then take off the file name from the URL above and you will see ALL the 6xx build packages available for local ppm install. > -Original Message- > From: Peter Eisengrein [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 05, 2001 10:25 > To: 'perl-win32-gui-users@lists.sourceforge.net' > Subject: RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak? > > > Joe, thanks for all your help but, man I'm getting nowhere fast! I > downloaded the Win-GUI-0.0.558.tar.gz, extracted it and tried > doing the > install as you described and again no deal (no ppd in the > archive). Then I > tried doing another install from AS and I'm still on 0.0.502. > > > C:\ActivePerl\lib\gui\Win32-GUI-0.0.558>perl -v > > This is perl, v5.6.0 built for MSWin32-x86-multi-thread > > > > C:\ActivePerl\lib\gui\Win32-GUI-0.0.558>ppm install Win32-GUI.ppd > Retrieving package 'Win32-GUI.ppd'... > Error installing package 'Win32-GUI.ppd': Could not locate a > PPD file for > package Win32-GUI.ppd > > > > C:\ActivePerl\lib\gui\Win32-GUI-0.0.558>ppm install Win32::GUI > Retrieving package 'Win32-GUI'... > Writing C:\ActivePerl\site\lib\auto\Win32\GUI\.packlist > > C:\ActivePerl\lib\gui\Win32-GUI-0.0.558>ppm > PPM interactive shell (2.0) - type 'help' for available commands. > PPM> query > Archive-Tar [0.072 ] module for manipulation of tar archives. > Compress-Zlib [1.03 ] Interface to zlib compression library > HTML-Parser [2.23 ] SGML parser class > MIME-Base64 [2.11 ] Encoding and decoding of base64 strings > Net-Telnet[3.02 ] Interact with TELNET port or other TCP ports > PPM [2 ] Perl Package Manager: locate, install, upgrade > software > packages. > Tk[800.022] Tk - a Graphical User Interface Toolkit > URI [1.04 ] Uniform Resource Identifiers > (absolute and relative) > Win32-API [0.01 ] Implementation of arbitrary Win32 APIs. > Win32-GUI [0.0.502] Perl-Win32 Graphical User Interface Extension > XML-Element [1.07 ] Base element class for XML elements > XML-Parser[2.27 ] A Perl module for parsing XML documents > libwin32 [0.16 ] A collection of extensions that aims > to provide > comprehensive access to the Windows API. > libwww-perl [5.45 ] Library for WWW access in Perl > > > > ___ > Perl-Win32-GUI-Users mailing list > Perl-Win32-GUI-Users@lists.sourceforge.net > http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users >
RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak?
Hi The Win32::GUI 0.558 PPD was created by me (I'm the Packager you know ;-) ). I also managed to get ActiveState to update their PPM server with it so you can get the current version from there. (It does seem to work from inside a firewall, you just need to set the environment variables right.) There's some good information about creating PPMs on Jenda's site at http://jenda.krynicky.cz/perl/PPM.html (Thanks again Aldo!) They are fairly easy to do, basically you need a couple of things : 1) Source of module 2) Compiler to build the module Build the source like this : perl Makefile.pl nmake ppd Move the blib directory structure produced by this to a directory like MSWin32-x86-multi-thread\ and then tar up the whole thing and call it something sensible like Module-SubModule-versionnumber-PPM.tar. (Win32-GUI-0.0.558-PM.tar for example) Now gzip the tar file. (Try http://www.gzip.org/ for gzip for Windows) Now you must create a .ppd file which describes it. Jenda's site has detailed information but check the .ppd file which is bundled with my 0.558 PPM it's pretty simple. Major thing to remember is the use of unix style slashes for directory paths, ie somepath/somotherpath NOT somepath\someotherpath. Caught me out for a while ! Once you have the gzipped tar file and the ppd file, create a zip file called Module-SubModule-versionnumber-PPM.zip containing the ppd and the gzipped file. OK, it should now work. It took me some time playing about to get it going at first but once you've done one it gets easier. BTW - The reason that there are no docs in the PPM file for 0.558 is because at the time the docs were very incomplete. I could create a PPM with the docs included, but isn't someone on this list maintaining them on a web site somewhere ? Anyway, if you're *REALLY* stuck for a CPAN or other module making into a PPM drop me a line at [EMAIL PROTECTED] and I'll offer any help I can. (I'd rather help you do it than do it for you of course ! ;-)) Cheers Paul *** Important. This E-mail is intended for the above named person and may be confidential and/or legally privileged. If this has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please inform the sender immediately. ***
RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak?
The zip thing worked!!! That's terrific except that scripts that used to work no longer do. Bummer. I get this kind of an error: "Your vendor has not defined Win32::GUI macro Category, used at..." (see below snippet) What's this about a macro? I get what it means but can someone point me towards which doc describes this change in functionality? In 0.0.558 do I need to declare these "macros" or something? Here's a snippet of what it is complaining about (works with 0.0.502): ## $Window->AddCombobox( -name => Category, -left => 105, -top=> 5, -width => 45, -height => 100, -style => WS_VISIBLE | 2 | WS_VSCROLL | WS_HSCROLL | ES_AUTOHSCROLL, -tabstop => 1, ); $Window->Category->InsertItem(""); foreach (@category) { chomp($_); $Window->Category->InsertItem("$_"); } # THanks for everyone's help. Pete > -Original Message- > From: Frazier, Joe Jr [mailto:[EMAIL PROTECTED] > > > http://www.activestate.com/PPMPackages/zips/6xx-builds-only/wi > n32-gui.zi > p. THIS contains the ppd file for install. > 1) unzip > 2) cd to foldery where you unziped files > 3) type "ppm install Win32-GUI.ppd" > >
RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak?
> -Original Message- > From: Peter Eisengrein [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 05, 2001 13:57 > To: 'perl-win32-gui-users@lists.sourceforge.net' > Subject: RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak? > > > The zip thing worked!!! That's terrific except that scripts > that used to > work no longer do. Bummer. I get this kind of an error: > > "Your vendor has not defined Win32::GUI macro Category, used > at..." (see > below snippet) > > What's this about a macro? I get what it means but can > someone point me > towards which doc describes this change in functionality? In > 0.0.558 do I > need to declare these "macros" or something? Here's a snippet > of what it is > complaining about (works with 0.0.502): > > ## Not sure, but try changing: > $Window->AddCombobox( > -name => Category, > -left => 105, > -top=> 5, > -width => 45, > -height => 100, > -style => WS_VISIBLE | 2 | WS_VSCROLL | WS_HSCROLL | > ES_AUTOHSCROLL, > -tabstop => 1, > ); to $Window->AddCombobox( -name => "Category", -left => 105, -top=> 5, -width => 45, -height => 100, -style => WS_VISIBLE | 2 | WS_VSCROLL | WS_HSCROLL |ES_AUTOHSCROLL, -tabstop => 1, I have not worked with this module long enough, but that kind of sticks out in my mind as being a bareword. > > $Window->Category->InsertItem(""); > foreach (@category) > { > chomp($_); > $Window->Category->InsertItem("$_"); > } > > # > > > THanks for everyone's help. > Pete > > > > > -Original Message- > > From: Frazier, Joe Jr [mailto:[EMAIL PROTECTED] > > > > > > http://www.activestate.com/PPMPackages/zips/6xx-builds-only/wi > > n32-gui.zi > > p. THIS contains the ppd file for install. > > 1) unzip > > 2) cd to foldery where you unziped files > > 3) type "ppm install Win32-GUI.ppd" > > > > > > ___ > Perl-Win32-GUI-Users mailing list > Perl-Win32-GUI-Users@lists.sourceforge.net > http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users >
RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak?
Correct me if I'm wrong, but if you are using Perl 5.005 , then Win32::GUI version 502 (the latest version for perl 5.005) is the version that you will receive on a PPM install, because 558 is for Perl 5.6. I'm a little confused on this myself, because I've seen a couple of statements regarding the versions, but from I can tell, this is the case. Hope this helps (and if i'm wrong, feel free to correct me ;) ) -Michael Forhan -Original Message- From: Peter Eisengrein [mailto:[EMAIL PROTECTED] Sent: Monday, June 04, 2001 6:17 AM To: 'perl-win32-gui-users@lists.sourceforge.net' Subject: RE: [perl-win32-gui-users] Win32::GUI::Timer memory leak? I see the 0.0.558 tar.gz version on your site but your /ppm still says 502, which is where I got it from. Is that accurate? > -Original Message- > From: Aldo Calpini [mailto:[EMAIL PROTECTED] > Sent: Monday, June 04, 2001 4:56 AM > To: Peter Eisengrein > Subject: Re: [perl-win32-gui-users] Win32::GUI::Timer memory leak? > > > Peter Eisengrein wrote: > > 0.0.502 -- I actually just pulled it off your site maybe > two weeks ago. > > Is there an even newer version? Thanks for your help -- I love this > > module! > > uhm... my site contains version 0.0.558, it was uploaded on > 22 Jan 2001. > you probably have a (way too much) caching proxy :-) > > > cheers, > Aldo > > __END__ > $_=q,just perl,,s, , another ,,s,$, hacker,,print; > > > > ___ > Perl-Win32-GUI-Users mailing list > Perl-Win32-GUI-Users@lists.sourceforge.net > http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > ___ Perl-Win32-GUI-Users mailing list Perl-Win32-GUI-Users@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users