Commits

Burak Gürsoy committed a1cf28e

Distro fix

Comments (0)

Files changed (4)

 Revision history for Perl extension Task::Lingua::Any::Numbers.
 
-0.18 Sun Jul  8 01:50:04 2012
-    => Bump version.
+0.18 Sun Sep  9 05:19:55 2012
+    => Distro fix.
 
 0.17 Thu Feb 10 00:32:54 2011
    => Require new Lingua::Any::Numbers.
 
 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 Task::Lingua::Any::Numbers
+
+If you don't have the cpan shell available, then you have a broken perl
+installation.
 
 DEPENDENCIES
 
    Lingua::PT::Nums2Ords
    Lingua::Any::Numbers
 
-COPYRIGHT
+COPYRIGHT AND LICENCE
 
-Copyright (c) 2009-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.
                 Lingua::CS::Num2Word
                 Lingua::DE::Num2Word
                 Lingua::ES::Numeros
-                Lingua::ID::Nums2Words
                 Lingua::NO::Num2Word
                 Lingua::PT::Nums2Words
                 Lingua::PT::Nums2Ords
-            )
+            ),
+            ( $ >= 5.010 ? (
+                # workaround stupidity: this module requires v5.10 for no real reason
+                qw(
+                    Lingua::ID::Nums2Words
+                )
+            ) : () )
         )
     },
     meta_merge => {

lib/Task/Lingua/Any/Numbers.pm

 package Task::Lingua::Any::Numbers;
 use strict;
 use warnings;
-use vars qw( $VERSION );
 
-$VERSION = '0.18';
+our $VERSION = '0.18';
 
 1;
 
 
 =pod
 
+=encoding utf8
+
 =head1 NAME
 
 Task::Lingua::Any::Numbers - Installs all number to word modules.
 
 L<Lingua::Any::Numbers>, L<Task>.
 
-=head1 SUPPORT
-
-=head2 BUG REPORTS
-
-All bug reports and wishlist items B<must> be reported via
-the CPAN RT system. It is accessible at
-L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Task-Lingua-Any-Numbers>.
-
 =cut