Wily::RPC

Wily::RPC is a Perl extension for the Wily RPC interface.
Download

Wily::RPC Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Sam Holden
  • Publisher web site:
  • http://search.cpan.org/~sholden/Wily-0.02/lib/Wily.pm

Wily::RPC Tags


Wily::RPC Description

Wily::RPC is a Perl extension for the Wily RPC interface. Wily::RPC is a Perl extension for the Wily RPC interface.SYNOPSIS use Wily::RPC; use Wily::Message; # opens a file in wily and exits when the window is destroyed my $wily = Wily::RPC->new(); my $win = $wily->win('/tmp/file_to_edit', 1); $wily->attach($win, Wily::Message::WEdestroy); while (my $event = $wily->event()) { if ($event->{type} == Wily::Message::WEdestroy and $event->{window_id} == $win) { last; } }Provides an interface to the Wily, using the lower level Wily::Message and Wily::Connect packages (which can also be used without this wrapper).Most of the methods of the Wily::RPC may block for a short time, they write a message to wily over a unix domain socket and then wait for wily to write a response message. Wily responds quickly, but if such things matter you will have to use the lower level packages instead. Requirements: · Perl


Wily::RPC Related Software