Re: Loading DLL from XS

2000-11-16 Thread Wendy K
Aldo, Thanks a ton! That works great. One observation :- FFI::Library ( the source code version on CPAN) uses Win32.pm to obtain LoadLibrary but the latest version of Win32.pm does not contain LoadLibrary or GetProcAddress anymore. So we need to use Win32::API to get those functions. So we can

Module that turns xml to html?

2000-11-16 Thread byron wise
I'm needing a parser that will take an xml file and turn it into html. Does anyone know of a module that does this? byron "When you sell a man a book, you don't sell him 12 ounces of paper and ink and glue - you sell him a whole new life." - Christopher Morley "Thanks O'REILLY." - Me __

Same problem ?? -->Release Memory used by an array????

2000-11-16 Thread Brian Gibson
I believe I am running into the same issue as the user who recently posted the question entitled "Releasing Memory used by an array". I have a stock rating program that uses FetchUrl. I first build an array of stock ticker symbols to look at (call it @symbols). There are about 12,000 stock tick

RE: Releasing Memory used by an array

2000-11-16 Thread Wantock, Ron L.
> > How does one free memory used by an array when ones finished with it ? > > I read a CSV file (5 Mb) into an array, mess around with the > contents, and > write it back out. > I want the program to loop continuously, other wise it > wouldnt matter :-) > I can watch the memory use grow in t

RE: Releasing Memory used by an array

2000-11-16 Thread Martin Moss
If you're programme is looping continously, wouldn't you be better off using an array 'local' to your loop? Then it would be created & destroyed each loop iteration? Or do you need a global array? Marty > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf

RE: Executing background process on NT

2000-11-16 Thread erskine, michael
> -Original Message- > From: John Dickens [mailto:[EMAIL PROTECTED]] > Sent: 16 November 2000 13:49 > To: [EMAIL PROTECTED] > Subject: Executing background process on NT Now tested code... #! perl -w use strict; $| = 1; print "starting things...\n"; system( 'start', "explorer /e,c:\t

RE: Executing background process on NT

2000-11-16 Thread erskine, michael
> -Original Message- > From: John Dickens [mailto:[EMAIL PROTECTED]] > Sent: 16 November 2000 13:49 > To: [EMAIL PROTECTED] > Subject: Executing background process on NT > I thought this would be simple to do with system(): > > $cmd='C:\UV\Uv\bin\uv.exe START.MSG.HANDLER'; >

Executing background process on NT

2000-11-16 Thread John Dickens
Hello, I'm trying to write a CGI based script to execute a routine on a Pick style database. The process runs in the background and listens for messages to and from a web page. I thought this would be simple to do with system(): $cmd='C:\UV\Uv\bin\uv.exe START.MSG.HANDLER'; sys

RE: Releasing Memory used by an array

2000-11-16 Thread erskine, michael
> -Original Message- > From: Rogers, John [mailto:[EMAIL PROTECTED]] > Sent: 16 November 2000 07:48 > To: [EMAIL PROTECTED] > Subject: Releasing Memory used by an array > How does one free memory used by an array when ones finished with it ? > I read a CSV file (5 Mb) into an array, mess

Re: XML::Parser

2000-11-16 Thread Jill Rhoads
After having installed the new Build 620, it still looks like the older version of XML::Parser 2.27 is being used. The most recent version is 2.30. My problem is that for larger files, the parser seems to hickup once and while (how's that for a technical term ;). Anyhow, it's a known problem ver

RE: Releasing Memory used by an array

2000-11-16 Thread Joseph P. Discenza
Rogers, John wrote, on Thursday, November 16, 2000 02:48 : How does one free memory used by an array when ones finished with it ? : : I read a CSV file (5 Mb) into an array, mess around with the : contents, and : write it back out. : I want the program to loop continuously, other wise it wouldnt

Connecting to socket on remote machine.

2000-11-16 Thread Rob
Hi, Trying to connect to a socket on (any) remote machine using either version of recipe 17.1 in the Perl Cookbook. The first version yields a failure to connect with a 'Timeout' error message and the second version gives the same result with an 'Unknown error' message. My internet connection is v

Re: Loading DLL from XS

2000-11-16 Thread Aldo Calpini
Wendy K wrote: > Hello, > > I am trying to load a DLL from perl using XS. In the example > this is done for a statically linked library that is forced to > be built using the Makefile.PL etc. What if I have built the > library before and want to load it dynamically ? I tried to > to use Win32::API

Releasing Memory used by an array

2000-11-16 Thread Rogers, John
Howdy , How does one free memory used by an array when ones finished with it ? I read a CSV file (5 Mb) into an array, mess around with the contents, and write it back out. I want the program to loop continuously, other wise it wouldnt matter :-) I can watch the memory use grow in task manager