Thanks for reply.
If any error happens then I don't want to die the program.
If any $DBI::error then store and then access that error via calling program. This is what I want to achieve.
Just want to ensure that {ERROR_STR} should not have another error value if calling some other method.