X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FLinux-SysInfo.git;a=blobdiff_plain;f=lib%2FLinux%2FSysInfo.pm;h=6332a946ca7ab4de05f40382c2ff610b587c9fde;hp=3eb7ae7f0552cefb3bc88c2a9a3984179b5e29db;hb=171099abd058a217d30a7b7f4e4a9625de8094cd;hpb=594584219ab6e02bd183a95e74c8d66a73541a25 diff --git a/lib/Linux/SysInfo.pm b/lib/Linux/SysInfo.pm index 3eb7ae7..6332a94 100644 --- a/lib/Linux/SysInfo.pm +++ b/lib/Linux/SysInfo.pm @@ -1,5 +1,7 @@ package Linux::SysInfo; +use 5.006; + use strict; use warnings; @@ -9,18 +11,18 @@ Linux::SysInfo - Perl interface to the sysinfo(2) Linux system call. =head1 VERSION -Version 0.10 +Version 0.14 =cut our $VERSION; BEGIN { - $VERSION = '0.10'; + $VERSION = '0.14'; } =head1 SYNOPSIS - use Linux::SysInfo qw/sysinfo/; + use Linux::SysInfo qw; my $si = sysinfo; print "$_: $si->{$_}\n" for keys %$si; @@ -141,12 +143,12 @@ Functions are also exported by the C<:funcs> tag, and constants by C<:consts>. =cut -use base qw/Exporter/; +use base qw; our @EXPORT = (); our %EXPORT_TAGS = ( - 'funcs' => [ qw/sysinfo/ ], - 'consts' => [ qw/LS_HAS_EXTENDED/ ] + 'funcs' => [ qw ], + 'consts' => [ qw ] ); our @EXPORT_OK = map { @$_ } values %EXPORT_TAGS; $EXPORT_TAGS{'all'} = [ @EXPORT_OK ]; @@ -161,6 +163,9 @@ Moreover, since the perl hash function has changed after the 5.6 version, you wi L 5.6. +A C compiler. +This module may happen to build with a C++ compiler as well, but don't rely on it, as no guarantee is made in this regard. + =head1 SEE ALSO The C man page. @@ -192,7 +197,7 @@ Tests code coverage report is available at L