X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FLinux%2FSysInfo.pm;h=d18ede2c06044e59ee8c5da2c0c0f929805070c4;hb=df2d2239c4e52ed9bf6891f03d6a3bb8e65a1297;hp=5c2257f7a9d80b9f041da564c344ecc11778375f;hpb=6510b3e43e5676cf41dbc3298386ed9bc1af79dc;p=perl%2Fmodules%2FLinux-SysInfo.git diff --git a/lib/Linux/SysInfo.pm b/lib/Linux/SysInfo.pm index 5c2257f..d18ede2 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.11 +Version 0.13 =cut our $VERSION; BEGIN { - $VERSION = '0.11'; + $VERSION = '0.13'; } =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.