in reply to Re: Trapping errors with specificity
in thread Trapping errors with specificity
For simplicity's sake, I vote for hardcoding.
Hardcoding is hard.
eval { #line 1 SpecialZone1 $code_ref->(); }; #line 23 file.pl
You have to make sure "SpecialZone1" is unique.
You have to make sure "23" and "file.pl" are correct.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Trapping errors with specificity
by diotalevi (Canon) on Aug 07, 2006 at 21:34 UTC |