2008/5/27 Andreas Marienborg <[EMAIL PROTECTED]>:
> Could you make it so a callback also could be specified via the
> config-files? Since now it seems to expect a coderef, but perhaps a string
> pointing at a sub could also be allowed, or a class-name which should
> implement some method?
$callback->( $params )
It will actually work if $callback is a fully-qualified subroutine
name - see t/constraints/callback.t for an example.
constraint:
- type: Callback
callback: "main::callback"
Carl
_______________________________________________
HTML-FormFu mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu