• C# (Microsoft .NET)
• Dynamic HTML
• PHP & MySQL
• ASP.NET - C# & VB.NET
• Perl & CGI
• C | C++
• Vector Markup Language
• Wap Development
• Web site promotion
• Web Marketing
• Curriculum Vitae (CV)
• Major web solutions
• Web design projects
• Software solutions
How to catch exceptions with eval in Perl?
Free programming example written by Anton Zamov
This approach is useful when you wish to see the
reason why the script "has died" in some part
of the program.
Consider the following example:
die("REASON"); # the script dies for some reason
if ($@) # $@ contains the exception that was thrown
Still have questions?
Ask your question on TechOnlineHelp.com
or find more examples on www.netartmedia.net/examples
If this example was useful for you, please support my company and click Like on the button below.
Thank you very much!
Jobs Portal, poweful jobs board software
PHP Mall, multi vendors mall website software
Car Portal, php script for auto classifieds websites
NetArt Media, software products and services
Real Estate Portal, web software for real estate portals
Blog System, multi user blog hosting script
PHP Store, powerful e-commerce system written in PHP
Pharmacy System, software for running online pharmacies