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

Comparing AnyEvent-MP/MP/Base.pm (file contents):
Revision 1.10 by root, Tue Aug 4 23:16:57 2009 UTC vs.
Revision 1.11 by root, Tue Aug 4 23:35:51 2009 UTC

173} 173}
174 174
175sub kil(@) { 175sub kil(@) {
176 my ($noderef, $port) = split /#/, shift, 2; 176 my ($noderef, $port) = split /#/, shift, 2;
177 177
178 length $port or Carp::cluck "yuk\n";#d#
178 length $port 179 length $port
179 or Carp::croak "killing the node port is not allowed, caught"; 180 or Carp::croak "$noderef: killing a node port is not allowed, caught";
180 181
181 ($NODE{$noderef} || add_node $noderef) 182 ($NODE{$noderef} || add_node $noderef)
182 ->kill ($port, @_); 183 ->kill ($port, @_);
183} 184}
184 185

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines