A Database Example
- Step 1: add exception handling
my($categories); try { $categories = get_categories_by_mgr($prod_mgr_id); } catch { # Handle exception here };
my($categories); try { $categories = get_categories_by_mgr($prod_mgr_id); } catch { # Handle exception here };