WL - Perl binding for wayland protocol
use WL;
WL is a package generated from Wayland protocol definition using wl-scanner.pl. It implements WL::Base subclasses with wrappers for requests, event processing and constants for enums.
It is not indended to be used directly. Instead, see WL::Connection to see how to obtain the object instances.
To see how to attach event callbacks and issue requests, please refer to WL::Base base class.
Until proper documentation is finished, please refer to documentation of C bindings of the generated code (it is intended to be readable) to see what arguments to give to requests and expect from events.
Please consider this an alpha quality code, whose API can change at any time, until we reach version 1.0.
The interface documentation for the bindings is lacking.
Only client part implemented, not server.
http://wayland.freedesktop.org/ -- Wayland project web site
wl-draw.pl -- Example Wayland client
wl-scanner.pl -- Tool that generated this module
WL::Base -- Base class for Wayland objects
WL::Connection -- Estabilish a Wayland connection
Copyright 2013, 2014 Lubomir Rintel
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Copyright notice from the protocol definition file:
Copyright © 2008-2011 Kristian Høgsberg Copyright © 2010-2011 Intel Corporation Copyright © 2012-2013 Collabora, Ltd. Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of the copyright holders not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. The copyright holders make no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Lubomir Rintel lkundrak@v3.sk
lkundrak@v3.sk
To install WL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WL
CPAN shell
perl -MCPAN -e shell install WL
For more information on module installation, please visit the detailed CPAN module installation guide.