… | |
… | |
238 | =item force => $boolean (default false) |
238 | =item force => $boolean (default false) |
239 | |
239 | |
240 | IF true, then the values specified in the C<configure> will take |
240 | IF true, then the values specified in the C<configure> will take |
241 | precedence over any values configured via the rc file. The default is for |
241 | precedence over any values configured via the rc file. The default is for |
242 | the rc file to override any options specified in the program. |
242 | the rc file to override any options specified in the program. |
243 | |
|
|
244 | =item secure => $pass->(@msg) |
|
|
245 | |
|
|
246 | In addition to specifying a boolean, you can specify a code reference that |
|
|
247 | is called for every code execution attempt - the execution request is |
|
|
248 | granted iff the callback returns a true value. |
|
|
249 | |
|
|
250 | Most of the time the callback should look only at |
|
|
251 | C<$AnyEvent::MP::Kernel::SRCNODE> to make a decision, and not at the |
|
|
252 | actual message (which can be about anything, and is mostly provided for |
|
|
253 | diagnostic purposes). |
|
|
254 | |
|
|
255 | See F<semp setsecure> for more info. |
|
|
256 | |
243 | |
257 | =back |
244 | =back |
258 | |
245 | |
259 | =over 4 |
246 | =over 4 |
260 | |
247 | |