(RADIATOR) How to pass arguments to hook?

Jan Tomasek jan at tomasek.cz
Sat Aug 5 10:04:30 CDT 2006


Hi Frank, Hugh,

> The example in hooks.txt shows a scheme of creating an array of variables
> with names based on the Identfier of the Client clause. In your case you
> could do the same thing using the Identifier in the Handler. I believe that
> a GlobalVar is a scalar and not a list so you may have to use split() to get
> a list of server names.

I didn't get that idea on first moment. Thanks for repeating. I like
this way and I used it in my hooks.

Thanks :)
-- 
-----------------------
Jan Tomasek aka Semik
http://www.tomasek.cz/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://www.open.com.au/pipermail/radiator/attachments/20060805/b1bdb737/attachment.bin>


More information about the radiator mailing list