I've been working on a wrapper for the netfilter/iptables library on Linux
2.[34].x, and would like to take a particular approach in handling
connection commit. However, I don't seem to be able to - the object is
passed to its methods as a reference, and it seems that every time a
method is called, the DESTROY method also gets called (obviously NOT what
I'm looking for).
Is the DESTROY method unusable? Is there any way to call a routine before
final cleanup of an object that won't be called every time the handle is
revised? Or am I looking at a lost cause?
Derrik Pates | Sysadmin, Douglas School| _ #linuxOS on EFnet
[EMAIL PROTECTED] | District (dsdk12.net) | | | and now OPN too!
Student @ South Dakota School of Mines | __| |___ _ _ _ ___ _ _ ____
& Technology (www.sdsmt.edu) |/ _ / -_) ' \ '\/ _ \ ' \ (____)
UNIX: Because you want to USE your computer.|\___,\___|_||_||_\___/_||_|