Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the HTML-FormHandler CPAN distribution.

Report information
The Basics
Id: 43094
Status: resolved
Priority: 0/
Queue: HTML-FormHandler

People
Owner: Nobody in particular
Requestors: lugdunum [...] redlemon.nl
Cc: lyon.lemmens [...] redlemon.nl
AdminCc:

Bug Information
Severity: Important
Broken in: 0.03
Fixed in: (no value)



CC: lyon.lemmens [...] redlemon.nl
Subject: CallbackOnce fails to run a callback due to strict refs
CallBackOnce fails in it's process function with the message: Can\'t use string ("EMT::Constraint::email") as a subroutine ref while "strict refs" in use. Comparing the code for Callback and CallbackOnce gives: 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
Sorry, wrong Distribution -- Lyon