Skip to content

Commit

Permalink
remote_error_handler var is in main package
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed May 1, 2013
1 parent 4ca207c commit 7617873
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web-lib.pl
Expand Up @@ -31,7 +31,8 @@ sub unique
}

# Has to be set after error is defined
$remote_error_handler = \&error;
$remote_error_handler ||= \&error;
$main::remote_error_handler ||= \&error;

1;

0 comments on commit 7617873

Please sign in to comment.