fix issue : Deep recursion on subroutine "Carp::longmess"