perl-AnyMQ-Pg-0.01-alt1.noarch.rpm


Advertisement

Description

perl-AnyMQ-Pg - Use built-in PostgreSQL 'LISTEN' and 'NOTIFY' commands for message-passing

Distribution: ALT Linux Sisyphus
Repository: Autoimports noarch
Package name: perl-AnyMQ-Pg
Package version: 0.01
Package release: alt1
Package architecture: noarch
Package type: rpm
Installed size: 8.50 KB
Download size: 8.50 KB
Official Mirror: ftp.altlinux.org
my $bus = AnyMQ->new_with_traits( traits => ['Pg'], dsn => 'dbname=postgres user=postgres', on_connect => sub { ... }, on_error => sub { ... }, ); my $topic = $bus->topic('my_event'); my $listen_watcher = $bus->new_listener($topic); $listen_watcher->poll(sub { my ($evt) = @_; warn "Got notified of my_event: " . Dumper($evt); }); $topic->publish({ foo => 123 }); AE::cv->recv;

Alternatives

Provides

  • perl(AnyMQ/Pg.pm) = 0.010
  • perl(AnyMQ/Topic/Trait/Pg.pm)
  • perl(AnyMQ/Trait/Pg.pm)
  • perl-AnyMQ-Pg = 0.01-alt1

    Download

    Install Howto

    1. Add the following line to /etc/apt/sources.list:
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      
    2. Update the package index:
      # sudo apt-get update
    3. Install perl-AnyMQ-Pg rpm package:
      # sudo apt-get install perl-AnyMQ-Pg

    Files

    • /usr/share/doc/perl-AnyMQ-Pg-0.01/README
    • /usr/share/perl5/AnyMQ/Pg.pm
    • /usr/share/perl5/AnyMQ/Topic/
    • /usr/share/perl5/AnyMQ/Topic/Trait/Pg.pm
    • /usr/share/perl5/AnyMQ/Trait/Pg.pm
    Advertisement
    Advertisement