go ahead... be a heretic | |
PerlMonks |
Re^5: Perl Not returning SQL query resultby Marshall (Canon) |
on May 15, 2021 at 02:31 UTC ( [id://11132619]=note: print w/replies, xml ) | Need Help?? |
I don't see any big issue here. I will mention something that is very useful about die messages. If you put a trailing \n, like "some message\n", that will suppress the details like line number, etc. I write different code for a sysop versus Windows user. For the inexperienced, usually a simple "what can I do about it?" message works best and extra detail just confuses them.
In Section
Seekers of Perl Wisdom
|
|