https://github.com/jonathanstowe/linux-udev
Access to udev managed devices
https://github.com/jonathanstowe/linux-udev
device linux perl6 udev
Last synced: 2 months ago
JSON representation
Access to udev managed devices
- Host: GitHub
- URL: https://github.com/jonathanstowe/linux-udev
- Owner: jonathanstowe
- License: artistic-2.0
- Created: 2016-08-03T14:51:38.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-08-16T16:08:57.000Z (almost 9 years ago)
- Last Synced: 2023-04-22T17:06:59.666Z (about 3 years ago)
- Topics: device, linux, perl6, udev
- Language: Perl 6
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Linux::Udev
Access to devices managed by ```udev``` on Linux
[](https://travis-ci.org/jonathanstowe/Linux-Udev)
## Synopsis
```perl6
use Linux::Udev;
my $udev = Linux::Udev.new;
for $udev.devices -> $device {
say $device;
}
```
## Description
This provides access to the devices managed by [udev](https://en.wikipedia.org/wiki/Udev) on Linux.
The facility is provided by a binding to ```libudev``` which is often packaged
as part of ```systemd```.
## Installation
Assuming you have a working installation of Rakudo Perl 6 the you should be
able to install this with ```zef``` :
zef install Linux::Udev
# or from a local clone
zef install .
Other installers may become available later, please see their documentation
for the details.
## Licence & Copyright
This is free software, please see the [LICENCE](LICENCE) file in the
distribution directory.
© Jonathan Stowe, 2016, 2017