On Sat, 2006-10-07 at 00:49 -0500, Michael J. Pomraning wrote: > In any case, sharing your blessings can be tricky in perl. > (threads::shared/BUGS) You might skip blessing to 'Packet' entirely > -- > it encapsulates only two data members in your test program -- and > instead pass an unblessed arrayref or hashref between threads.
I was going to expand Packet to be an "object" that provides methods to get any info from the packet. Like get_dest_ip(), etc.
