in reply to segmentation fault - whose fault

If the world was perfect, perl would not leak memory. And neither would perl segfault. But the world isn't perfect, and hence, perl is made by humans, using libraries made by humans, running on an OS made by humans.

So, perl could segfault. It shouldn't, not even if you make a syntax error. But it happens.

Now, what the relation is between segfaults and memory leakage isn't clear to me. Neither should happen - both do.

Oh, and it's very well possible in Perl to have memory that is no longer accessable, while it will not be garbage collected until the program ends. That's refcounting for you.

Abigail