]> git.vpit.fr Git - perl/modules/Linux-SysInfo.git/blobdiff - lib/Linux/SysInfo.pm
Importing Linux-SysInfo-0.08.tar.gz
[perl/modules/Linux-SysInfo.git] / lib / Linux / SysInfo.pm
index 8b7eb0e694414e834ea1aed1a8e1476cbadef2ee..dcbe1a9f349c5fe7e0906324e898bc420d6a4013 100644 (file)
@@ -9,11 +9,11 @@ Linux::SysInfo - Perl interface to the sysinfo(2) Linux system call.
 
 =head1 VERSION
 
-Version 0.01
+Version 0.08
 
 =cut
 
-our $VERSION = '0.01';
+our $VERSION = '0.08';
 
 =head1 SYNOPSIS
 
@@ -38,9 +38,9 @@ our @EXPORT_OK = qw/sysinfo LS_HAS_EXTENDED/;
 
 our %EXPORT_TAGS = ( 'all' => [ @EXPORT_OK ] );
 
-require XSLoader;
+use XSLoader;
 
-XSLoader::load('Linux::SysInfo', $VERSION);
+XSLoader::load 'Linux::SysInfo', $VERSION;
 
 =head1 FUNCTIONS
 
@@ -112,6 +112,12 @@ Memory unit size in bytes.
 
 This constant is set to 1 if your kernel supports the three extended fields C<totalhigh>, C<freehigh> and C<mem_unit> ; and to 0 otherwise.
 
+=head1 BINARY COMPATIBILITY
+
+If you upgrade your kernel to a greater version than 2.3.23 on i386 or 2.3.48 on any other platform, you will need to rebuild the module to access the extended fields.
+
+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 SEE ALSO
 
 The C<sysinfo(2)> man page.
@@ -126,6 +132,8 @@ L<BSD::getloadavg> : Wrapper to the C<getloadavg(3)> BSD system call.
 
 Vincent Pit, C<< <perl at profvince.com> >>
 
+You can contact me by mail or on #perl @ FreeNode (Prof_Vince).
+
 =head1 BUGS
 
 Please report any bugs or feature requests to