Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/soh335/cocoa-nsdistributednotificationcenter

perl interface for NSDistributedNotificationCenter
https://github.com/soh335/cocoa-nsdistributednotificationcenter

Last synced: 14 days ago
JSON representation

perl interface for NSDistributedNotificationCenter

Awesome Lists containing this project

README

        

NAME
Cocoa::NSDistributedNotificationCenter - Perl interface for
NSDistributedNotificationCenter

SYNOPSIS
use Cocoa::NSDistributedNotificationCenter;
use Cocoa::EventLoop;

my $ns_center = Cocoa::NSDistributedNotificationCenter->new;
$ns_center->listen('com.apple.iTunes.playerInfo', sub {
my $info = shift;
warn $info->{Artist};
});

Cocoa::EventLoop->run;