[Bucardo-general] Patch, Added $self to input for custom code

Greg Sabino Mullane greg at endpoint.com
Mon Mar 23 19:55:54 UTC 2009


Ben Allen wrote:
> Attached is a patch that passes $self in the run_kid_custom_code
> function of Bucardo.pm in the $input hashref.

I'm very wary of something like this, as it seems a huge footgun waiting to
happen. I'd be much happier having it pass something a little safer, such as
perhaps a coderef to the send_mail subroutine?

-- 
Greg Sabino Mullane greg at endpoint.com
End Point Corporation
PGP Key: 0x14964AC8

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 226 bytes
Desc: OpenPGP digital signature
Url : https://mail.endcrypt.com/pipermail/bucardo-general/attachments/20090323/d284ec42/attachment.bin 


More information about the Bucardo-general mailing list