So in find_message _parse_args is called twice. Are you sure that _parse_args(_parse_args($data)) equals _parse_args($data) ? I'm not saying this is the problem, but it might be worthwile to print out the contents of $msg_info with Data::Dumper. I know from mistakes I make that they turn up at unexpected places.
| [reply] |
Actually, I think it gets called more than that...
But, thanks for the pointer. I'd forgotten a change made someplace else that meant _parse_args() didn't quite output something it could input. As luck would have it, this only has an effect if I'm passing the to_address parameter.
I changed the test to search on something else, and it works. So, I just need to fix that bug...
(Note to self: Just because you have tested and know something works, that doesn't mean it works.)
- DStaal
| [reply] |