ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent-MP/MP.pm
(Generate patch)

Comparing AnyEvent-MP/MP.pm (file contents):
Revision 1.140 by root, Thu Mar 22 23:47:01 2012 UTC vs.
Revision 1.142 by root, Fri Mar 23 13:44:01 2012 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines