package Linux::SysInfo;
+use 5.006;
+
use strict;
use warnings;
=head1 VERSION
-Version 0.12
+Version 0.14
=cut
our $VERSION;
BEGIN {
- $VERSION = '0.12';
+ $VERSION = '0.14';
}
=head1 SYNOPSIS
- use Linux::SysInfo qw/sysinfo/;
+ use Linux::SysInfo qw<sysinfo>;
my $si = sysinfo;
print "$_: $si->{$_}\n" for keys %$si;
=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 ];
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.
=head1 COPYRIGHT & LICENSE
-Copyright 2007,2008,2009,2010 Vincent Pit, all rights reserved.
+Copyright 2007,2008,2009,2010,2013,2017 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.