--- cvsroot/Coro/Coro.pm 2008/11/21 02:39:40 1.232 +++ cvsroot/Coro/Coro.pm 2008/11/21 06:02:07 1.233 @@ -500,6 +500,11 @@ $old; } +sub transfer { + require Carp; + Carp::croak ("You must not call ->transfer on Coro objects. Use Coro::State objects or the ->schedule_to method. Caught"); +} + =back =head2 GLOBAL FUNCTIONS