Burak Gürsoy avatar Burak Gürsoy committed a82bf7e

Distro fixes

Comments (0)

Files changed (5)

 Revision history for Perl extension App::Sys::Info.
 
-0.21 Sun Jul  8 01:50:04 2012
-    => Bump version.
+0.21 Mon Aug 27 01:42:09 2012
+    => Distro fixes.
 
 0.20 Sun Aug 22 01:49:26 2010
     => Replace Number::Format with Format::Human::Bytes.
 
 INSTALLATION
 
-To install this module type the following:
+Just use the cpan shell to install this module. From a command prompt, type:
 
-   perl Makefile.PL
-   make
-   make test
-   make install
+    cpan
 
-or under Windows:
+or
 
-   perl Makefile.PL
-   nmake
-   nmake test
-   nmake install
+    perl -MCPAN -e shell
+
+to enter the cpan shell. And then enter:
+
+    install App::Sys::Info
+
+If you don't have the cpan shell available, then you have a broken perl
+installation.
 
 DEPENDENCIES
 
-Number::Format
-Sys::Info
-Text::Table
-Time::Elapsed
+    Number::Format
+    Sys::Info
+    Text::Table
+    Time::Elapsed
 
-COPYRIGHT
+COPYRIGHT & LICENSE
 
-Copyright (c) 2010 Burak G�rsoy. All rights reserved.
-
-LICENSE
-
-This library is free software; you can redistribute it and/or modify 
-it under the same terms as Perl itself, either Perl version 5.10.1 or, 
-at your option, any later version of Perl 5 you may have available.
+See the LICENSE file bundled with this distribution.
 #!/usr/bin/perl -w
 use strict;
 use warnings;
-use vars qw( $VERSION );
 use App::Sys::Info;
 
-$VERSION = '0.13';
+our $VERSION = '0.21';
 
 App::Sys::Info->run;
 

lib/App/Sys/Info.pm

 package App::Sys::Info;
 use strict;
 use warnings;
-use vars qw( $VERSION );
 
-$VERSION = '0.21';
+our $VERSION = '0.21';
 
 use constant CP_UTF8      => 65_001;
 use constant LAST_ELEMENT =>     -1;
 
 =pod
 
+=encoding utf8
+
 =head1 NAME
 
 App::Sys::Info - Application of Sys::Info to gather information from the system
 use warnings;
 use Test::More qw( no_plan );
 
-BEGIN {
-    use_ok('App::Sys::Info');
-}
+use App::Sys::Info;
 
 App::Sys::Info->run;
 
-ok(1, 'Fake test');
+ok(1, 'Module loaded ok');
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.