in reply to caller counter

Check out Carp::Heavy's longmess_heavy() subroutine to see how it is done. If you want to show the call stack you may be better off using one of the Carp subs rather than rolling your own...

Michael