in reply to How to enrich error-messages?
Update: I replaced thissyntax error at -e line 1, near ");" Execution of -e aborted due to compilation errors.
with thisif (!eval { do shift; 1 } or die("(F) $@");
I'm not sure if this would change the logic of the original code...if ( !eval { do shift; 1 } ) { die( "(F) $@" ) };
|
|---|