The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.


AnyEvent::Impl::NSRunLoop - AnyEvent adaptor for Cocoa NSRunLoop


    use AnyEvent;
    use AnyEvent::Impl::NSRunLoop;
    # do something


This module provides NSRunLoop support to AnyEvent.

NSRunLoop is an event loop for Cocoa application. By using this module, you can use Cocoa based API in your AnyEvent application.

For example, using this module with Cocoa::Growl, you can handle growl click event.

    my $cv = AnyEvent->condvar;
    # show growl notification
        name        => 'Notification Test',
        title       => 'Hello!',
        description => 'Growl world!',
        on_click    => sub {
            warn 'clicked!';

Please look at Cocoa::Growl documentation for more detail.


This module is in early development phase. The implementation is not completed and alpha quality. See also skipped test cases in test directory.

Patches and suggestions are always welcome, let me know by email or on github :)


Daisuke Murase <>


Copyright (c) 2009 by KAYAC Inc.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.