Hash growth memory allocation: can it be tweaked?

2002-05-12 Thread Michael S. Muegel
Hi. I'm using ActiveState build 631 on Win2K. Not self compiled, just the binary download from activestate.com. I have noticed that the way memory is allocated when hashes are created/grown varies considerably under Linux and my Win2K install. In Linux the memory usage steps up very gradually as

Doubt in DB_File module

2002-05-12 Thread ponnam . balam
Dear friends, When i am trying to process the flat database using the DB_File , it is giving the error like this , Cannot open C:\CC-LIC-USAGE\teams.txt: File exists How will i get the values from the existing file. Is it possible or not. Ex

RE: Beating the fork() horse to death...

2002-05-12 Thread John Serink
Title: Beating the fork() horse to death... You have to remember that at the time of the fork a snapshot is taken of the parent process's variables and memory and reproduced for the child. If you want the parent to know the results of whatever you do in the child, you have three options: 1. W

RE: Newbie book

2002-05-12 Thread John Serink
I used "PERL, How to Program", Deitel, Deitel, Nieto and McPhile. Good book and source chould comes with it. I still use it as a reference. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 10, 2002 11:23 PM > To: [EMAIL PROTECTED] > Subject:

RE: Newbie book

2002-05-12 Thread Thomas R Wyant_III
Yes, but _I_ didn't have to write any of it. If we're going to talk about ALL the code necessary to run C:\>perl -pe "" newscript.pl I feel constrained to point out that I executed not only Perl itself but Windows. A _serious_ attempt to reduce the amount of code needed to do the job would pro

RE: Newbie book

2002-05-12 Thread Cassell . David
I have noticed that no one has yet recommended what I consider to be a very good introductory Perl text: "Elements of Programming with Perl" by Andrew L. Johnson [not the deceased U.S. President]. For people who do *not* have a programming background, this is probably a bit better than Randal's

Re: Beating the fork() horse to death...

2002-05-12 Thread c. church
Beating the fork() horse to death...Matthew, I doubt you'll be able to get 64,128,256 processes running at once on any Win32 box. Remember that when you fork(), you're spawning another perl process, running the same script. Think of it like this: When you fork, the script you are currently