in reply to using perldb
What sub? Can you show us a short complete script that demonstrates the problem?