]> git.vpit.fr Git - perl/modules/Linux-SysInfo.git/blobdiff - lib/Linux/SysInfo.pm
This is 0.14
[perl/modules/Linux-SysInfo.git] / lib / Linux / SysInfo.pm
index f8351a09677ba9fa141a1c9cd36cf765829ccb82..6332a946ca7ab4de05f40382c2ff610b587c9fde 100644 (file)
@@ -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<sysinfo>;
 
     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<Exporter>;
 
 our @EXPORT         = ();
 our %EXPORT_TAGS    = (
- 'funcs'  => [ qw/sysinfo/ ],
- 'consts' => [ qw/LS_HAS_EXTENDED/ ]
+ 'funcs'  => [ qw<sysinfo> ],
+ 'consts' => [ qw<LS_HAS_EXTENDED> ]
 );
 our @EXPORT_OK      = map { @$_ } values %EXPORT_TAGS;
 $EXPORT_TAGS{'all'} = [ @EXPORT_OK ];
@@ -157,6 +159,13 @@ If you upgrade your kernel to a greater version than 2.3.23 on i386 or 2.3.48 on
 
 Moreover, since the perl hash function has changed after the 5.6 version, you will also need to recompile the module if you upgrade your perl from a version earlier than 5.6.
 
+=head1 DEPENDENCIES
+
+L<perl> 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<sysinfo(2)> man page.
@@ -184,9 +193,11 @@ You can find documentation for this module with the perldoc command.
 
     perldoc Linux::SysInfo
 
+Tests code coverage report is available at L<http://www.profvince.com/perl/cover/Linux-SysInfo>.
+
 =head1 COPYRIGHT & LICENSE
 
-Copyright 2007-2008 Vincent Pit, all rights reserved.
+Copyright 2007,2008,2009,2010,2013 Vincent Pit, all rights reserved.
 
 This program is free software; you can redistribute it and/or modify it
 under the same terms as Perl itself.