in reply to not waiting for module to return

Could you please post some code up for us to have a look see? I doubt that perl is going on through edit_categories() without having it return work. Its probably returning nothing.

BMaximus