I have this module which I intend to use for pdfparsing, and it dies one me without a word. Looking at the code it's littered with die(''), meaning there is a lot of places it may die, but without a word why.
So I was wondering if there is a way to include the last function called or the line number at which current execution is made?
Thinking I could then do a stringreplace of the die('')'s to a more meaningful errormsg.
Other approaches/ideas on this is also appriciated!








Bookmarks