Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.216.331 Times

Wily::Message 0.02

  Date Added: September 21, 2012  |  Visits: 1.117

Wily::Message

Report Broken Link
Printer Friendly Version


Product Homepage
Download (92 downloads)



Wily::Message is a Perl extension to handle Wily Messages. SYNOPSIS use Wily::Message; use Wily::Connect; # opens a file in wily and exits when the window is destroyed my $win_id; my $ws = Wily::Connect::connect(); my $wm = Wily::Message->new(Wily::Message::WMnew, 0, 0, 0, 1, /tmp/file_to_edit); $ws->syswrite($wm->flatten()); my $buffer = ; until (Wily::Message::complete_message($buffer)) { $ws->sysread($buffer, 1024, length($buffer)); } $buffer = $wm->from_string($buffer); if ($wm->{type} == Wily::Message::WRerror) { die "Error WMnew: $wm->{s}n"; } elsif ($wm->{type} == Wily::Message::WRnew) { $win_id = $wm->{window_id}; $wm = Wily::Message->new(Wily::Message::WMattach, $win_id, 0, 0, Wily::Message::WEdestroy); $ws->syswrite($wm->flatten()); until (Wily::Message::complete_message($buffer)) { $ws->sysread($buffer, 1024, length($buffer)); } $buffer = $wm->from_string($buffer); if ($wm->{type} == Wily::Message::WRerror) { die "Error WMattach: $wm->{s}n"; } elsif ($wm->{type} == Wily::Message::WRattach) { } else { die "Expected a WRattach, but didnt get one"; } } else { die "Expected a WRnew, but didnt get one"; } while (1) { until (Wily::Message::complete_message($buffer)) { $ws->sysread($buffer, 1024, length($buffer)); } $buffer = $wm->from_string($buffer); if ($wm->{type} == Wily::Message::WEdestroy and $wm->{window_id} == $win_id) { last; } } A simple object wrapper around Wily messages with a helper function to assist in extracting messages from the wily connection..

Requirements: No special requirements
Release Date: September 21, 2012
Platforms: Linux
Keyword: Buffer Id Libraries Perl Programming Type Wily Wily Messages Wilymessage Win
Users rating: 0/10

License: Freeware Size: 21.5 KB
USER REVIEWS
More Reviews or Write Review


WILY::MESSAGE RELATED
Network & Internet  -  mod_perl 2.0.3
mod_perl project brings together the full power of the Perl programming language and the Apache HTTP server. You can use Perl to manage Apache, respond to requests for web pages and much more. mod_perl gives you a persistent Perl interpreter...
3.5 MB  
Libraries  -  Audio::LADSPA::Buffer 0.018
Audio::LADSPA::Buffer is a Perl module for LADSPA buffer. SYNOPSIS use Audio::LADSPA; my $buffer = Audio::LADSPA::Buffer->new($size); $plugin->connect(Port name => $buffer); $buffer->set( @values ); # or get a buffer from a plugin.....
81.92 KB  
Utilities  -  Perl OS 4
Perl OS is a program written in the Perl programming language combined with the Perl module Tk. Perl OS was created to make an easy interface to run Perl/Tk programs. It was also created to be an easy working environment complete with a text...
143.36 KB  
Programming  -  Acme::BOPE 0.01
Created at the base of the hill of Babylon, New York, in full evening of funk, this module allows you to make inroads Perl programming using just jargon and language taken from the famous movie "Elite Squad" director Jose Padilha
10.24 KB  
Web Authoring  -  WebAPP 1.0 SE
WebAPP is a popular, open source Content Management System (cms) written in the Perl programming language. The name WebAPP is an abbreviation of Web Automated Perl Portal. Available under the GNU General Public License, WebAPP is free software....
2 KB  
Programming  -  Euphoria / GTK Aug22
EuGTK is a GTK+ wrapper for the Euphoria programming language on the Linux/BSD/Win platforms. Euphoria is an extremely fast and easy-to-use interpreted language. EuGTK is a wrapper which connects Euphoria to the GTK libraries, allowing rapid...
276.48 KB  
E-Mail Tools  -  mboxpurge 1.0.1-20060829
mboxpurge is a Perl script for purging old messages out of mbox-style mailboxes. mboxpurge can also archive (move old messages) and extract (copy old messages) into a new mailbox. Age can be specified in ISO format (YYYY-MM-DD) or in hours,...
3.07 KB  
E-Mail Tools  -  yahoo2mbox 0.23
yahoo2mbox is a small Perl script which retrieves all messages from a mailing list archive at Yahoo! Groups (there is a missing copyright sign somewhere here probably). yahoo2mbox stores them into a local file in MBOX which is recognized by all...
9.22 KB  
Libraries  -  Wily::RPC 0.02
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);...
21.5 KB  
Libraries  -  Wily 0.02
Wily is a Perl extension for interfacing with Wily. SYNOPSIS use Wily; use Wily::Message; # opens a file in wily and exits when the window is destroyed my $wily = Wily->new(); my $win = $wily->win(/tmp/file_to_edit, 1);...
21.5 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB