CC: | lyon.lemmens [...] redlemon.nl |
When given a callback sub name in the form.yml file, CallbackOnce fails with:
Can\'t use string ("EMT::Constraint::email") as a subroutine ref while "strict refs"
Comparing the Callback and CallbackOnce sources:
CallbackOnce:
my $ok = eval { $callback->( $value, $params ) };
Callback:
no strict 'refs';
my $ok = $callback->( $value, $params );
Now I wonder of both should actually be:
no strict 'refs';
my $ok = eval { $callback->( $value, $params ) };
I've made that change locally to both modules and it appears to work
--
Lyon