Access to devices managed by udev
on Linux
use Linux::Udev;
my $udev = Linux::Udev.new;
for $udev.devices -> $device {
say $device;
}
This provides access to the devices managed by udev on Linux.
The facility is provided by a binding to libudev
which is often packaged
as part of systemd
.
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.
This is free software, please see the LICENCE file in the distribution directory.
© Jonathan Stowe, 2016, 2017