On 28 Sep 98, at 14:21, Peter J. Schoenster wrote:
-- snipped here and there ---
> seems kind of slow and got much faster after a reboot (I just can't
> imagine NT doing this on an old 486-dx2 66 with 32 meg of ram and
> some cheap no-name motherboard).
:-)
> > Do we physically have to undef every global variable, all variables?
> > will perl no longer do garbage collecting for us?
> (the above was copied from a dejanews posting).
> When I discover the cause and cure I will certainly post it.
I'm a C++ programmer and I have been for a very very short time a
Java programmer...
In OO programming (and not) there are scopes
so evry thing declared between a pairs of
{
//an instance of ClassType is created
ClassType ClassInstance;
//and used
ClassInstance.Method();
ClassInstance.Propriety=Value;
}
//here ClassInstance is destroyed
is destroyed automatically after the brachets (sp??)
Things are different with pointers.. but there are programmable
pseudo-automatic method to destroy object/Classes...
There are also non automatic method as new and delete
Try to look if there is something similar in mod_perl...
If there isn't maybe there is a "garbage collector" as in Java...
maybe you'll find a module/library/class (well you know what I want
to say) that will perform "garbage collection".
BTW I don't like too much "garbage collectors" I prefer to know
where evrything is (or is not)!!!!!
Garbage collectors tend to be resource hungry and to be unsure
and unefficent (code executed without reason)
-------------------------------------------
Ivan Sergio Borgonovo [EMAIL PROTECTED]
Webmaster Gorilla Bookstore http://www.gorilla.it
Tel. +39 2 3311105/34530455 Fax. +39 2 34531591
Via Mac Mahon 9, Milano, Italy
-------------------------------------------
____________________________________________________________________
--------------------------------------------------------------------
Join The Web Consultants Association : Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------