]> git.vpit.fr Git - perl/modules/Linux-SysInfo.git/blobdiff - samples/sysinfo.pl
Switch qw delimiters to <>
[perl/modules/Linux-SysInfo.git] / samples / sysinfo.pl
index 2ca2f90a374954c60f79599712c60fe629acd43a..4f2bf7fae2975d4c945985c74dc89729aa27ee3e 100755 (executable)
@@ -3,7 +3,9 @@
 use strict;
 use warnings;
 
-use Linux::SysInfo qw/sysinfo LS_HAS_EXTENDED/;
+use lib qw<blib/lib blib/arch>;
+
+use Linux::SysInfo qw<sysinfo LS_HAS_EXTENDED>;
 
 my $si = sysinfo;
 die 'sysinfo() failed ! (should be pretty rare but it did happen)' unless $si;
@@ -19,5 +21,5 @@ if (LS_HAS_EXTENDED) {
  ($si->{mem_unit} == 1) ? "the memory values are the actual sizes in bytes :\n"
                         : "the sizes in bytes are actually :\n";
  print '- ', $_, ': ', $si->{$_} * $si->{mem_unit}, "\n" for sort
- qw/totalram freeram sharedram bufferram totalswap freeswap totalhigh freehigh/;
+ qw<totalram freeram sharedram bufferram totalswap freeswap totalhigh freehigh>;
 }