Revision history for Linux-SysInfo
+0.10 2008-03-10 15:40 UTC
+ + Doc : The usual set of POD typos.
+ + Fix : Ensure that we're on linux with $^O, as some smokers don't seem
+ to apply anymore the rule of "if it's in the Linux:: namespace,
+ then errors should be reported as FAILures only if we actually
+ are on linux".
+ + Tst : Tiny refinements.
+
0.09 2008-03-09 13:00 UTC
+ Add : ':funcs' and ':consts' export tags.
+ Doc : Copyright update.
--- #YAML:1.0
name: Linux-SysInfo
-version: 0.09
+version: 0.10
abstract: Perl interface to the sysinfo(2) Linux system call.
license: perl
author:
- Vincent Pit <perl@profvince.com>
-generated_by: ExtUtils::MakeMaker version 6.42
+generated_by: ExtUtils::MakeMaker version 6.44
distribution_type: module
requires:
Exporter: 0
use warnings;
use ExtUtils::MakeMaker;
+die 'OS unsupported' unless $^O && $^O eq 'linux';
+
my $BUILD_REQUIRES = {
'ExtUtils::MakeMaker' => 0,
'Test::More' => 0,
Linux::SysInfo - Perl interface to the sysinfo(2) Linux system call.
VERSION
- Version 0.09
+ Version 0.10
SYNOPSIS
use Linux::SysInfo qw/sysinfo/;
Total swap space size.
"freeswap"
- Swap space stil available.
+ Swap space still available.
"procs"
Number of current processes.
=head1 VERSION
-Version 0.09
+Version 0.10
=cut
our $VERSION;
BEGIN {
- $VERSION = '0.09';
+ $VERSION = '0.10';
}
=head1 SYNOPSIS
=item C<freeswap>
-Swap space stil available.
+Swap space still available.
=item C<procs>
#!perl -T
+use strict;
+use warnings;
+
use Test::More tests => 1;
BEGIN {
# Ensure a recent version of Test::Pod::Coverage
my $min_tpc = 1.08;
eval "use Test::Pod::Coverage $min_tpc";
-plan skip_all => "Test::Pod::Coverage $min_tpc required for testing POD coverage"
- if $@;
+plan skip_all => "Test::Pod::Coverage $min_tpc required for testing POD coverage" if $@;
# Test::Pod::Coverage doesn't require a minimum Pod::Coverage version,
# but older versions don't recognize some common documentation styles
my $min_pc = 0.18;
eval "use Pod::Coverage $min_pc";
-plan skip_all => "Pod::Coverage $min_pc required for testing POD coverage"
- if $@;
+plan skip_all => "Pod::Coverage $min_pc required for testing POD coverage" if $@;
all_pod_coverage_ok();