Subject: | Typo in SYNOPSIS (Linux::Proc::Mount should be Linux::Proc::Mounts) |
Thanks for coding this handy module. There's some minor issues in the
POD though:
There's a typo in the POD sample (Mounts not Mount).
It's missing "use feature 'say';" to have a fully functional example.
Should be:
=head1 SYNOPSIS
use feature 'say';
use Linux::Proc::Mounts;
my $m = Linux::Proc::Mounts->read;
my $at = $m->at('/');
say $_->spec . ' is mounted at /' for (@$at);
my $under = $m->under('/sys');
say $_->spec . ' is under /sys as ' . $_->file for (@$under);
Subject: | Linux-Proc-Mounts.patch |
115a116
> use feature 'say';
118c119
< my $m = Linux::Proc::Mount->read;
---
> my $m = Linux::Proc::Mounts->read;