X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FLinux%2FSysInfo.pm;h=d18ede2c06044e59ee8c5da2c0c0f929805070c4;hb=df2d2239c4e52ed9bf6891f03d6a3bb8e65a1297;hp=767238c882427e360160c5adfb652aa1bd953b0b;hpb=35962c406c3363c45f68c88516a2946c86e902db;p=perl%2Fmodules%2FLinux-SysInfo.git diff --git a/lib/Linux/SysInfo.pm b/lib/Linux/SysInfo.pm index 767238c..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; @@ -20,7 +22,7 @@ BEGIN { =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.