in reply to Calling a subroutine via multiple dereferences.
So I am absolutely sure the problem is that the line $log_list{refaddr $self}->[0][0]->find_message_info($msg_info) is mis-behaving.Well, I can't say I really understand it, so could well be.
Are you running strictly and with warnings? If not, then I think it's possible that your dereferencing is falling off the side of your data structure before it gets to the end of it, with no diagnostic. Try printing out the following expressions:
to see whether you're getting as far as a reference of type CODE.ref $log_list{refaddr $self} ref $log_list{refaddr $self}->[0] ref $log_list{refaddr $self}->[0][0] ref $log_list{refaddr $self}->[0][0]->find_message_info
--
.sig : File not found.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Calling a subroutine via multiple dereferences.
by DStaal (Chaplain) on Nov 04, 2008 at 18:30 UTC |