Skip to content

Commit

Permalink
pod improvements and fixes (encoding, links, formatting...)
Browse files Browse the repository at this point in the history
  • Loading branch information
eserte committed Jan 6, 2024
1 parent 4761515 commit 44066d8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
8 changes: 5 additions & 3 deletions lib/Lingua/BG/Numbers.pm
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ __END__
=pod
=encoding utf-8
=head1 NAME
Lingua::BG::Numbers - Converts numeric values into their Bulgarian
Expand Down Expand Up @@ -58,11 +60,11 @@ This function can be exported by the module.
=head1 DESCRIPTION
See Lingua::Slavic::Numbers
See L<Lingua::Slavic::Numbers>
=head1 BUGS
See Lingua::Slavic::Numbers
See L<Lingua::Slavic::Numbers>
=head1 COPYRIGHT
Expand All @@ -76,5 +78,5 @@ Ted Zlatanov <tzz@lifelogs.com>
=head1 SEE ALSO
Lingua::Slavic::Numbers, Lingua::EN::Numbers, Lingua::Word2Num
L<Lingua::Slavic::Numbers>, L<Lingua::EN::Numbers>, L<Lingua::Word2Num>
20 changes: 11 additions & 9 deletions lib/Lingua/Slavic/Numbers.pm
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,8 @@ __END__
=pod
=encoding utf-8
=head1 NAME
Lingua::Slavic::Numbers - Converts numeric values into their Slavic
Expand Down Expand Up @@ -623,13 +625,13 @@ string equivalents. Bulgarian is supported so far.
This module converts a number into a Slavic-language cardinal or
ordinal. Bulgarian is supported so far.
The interface tries to conform to the one defined in Lingua::EN::Number,
though this module does not provide any parse() method. Also,
unlike Lingua::En::Numbers, you can use this module in a procedural
manner by importing the number_to_LL() function (LL=bg so far).
The interface tries to conform to the one defined in L<Lingua::EN::Numbers>,
though this module does not provide any C<parse()> method. Also,
unlike L<Lingua::EN::Numbers>, you can use this module in a procedural
manner by importing the C<number_to_I<LL>()> function (I<LL>=C<bg> so far).
If you plan to use this module with greater numbers (>10e20), you can use
the Math::BigInt module:
the L<Math::BigInt> module:
use Math::BigInt;
use Lingua::Slavic::Numbers qw( number_to_slavic );
Expand Down Expand Up @@ -661,19 +663,19 @@ This function can be exported by the module.
=head1 CONSTANTS
Bulgarian: Lingua:Slavic::Numbers::LANG_BG ('bg')
Bulgarian: C<< Lingua:Slavic::Numbers::LANG_BG ('bg') >>
=head1 SOURCE
Lingua::FR::Numbers for the code
L<Lingua::FR::Numbers> for the code
=head1 BUGS
Though the module should be able to convert big numbers (up to 10**36),
I do not know how Perl handles them.
Please report any bugs or comments using the Request Tracker interface:
https://rt.cpan.org/NoAuth/Bugs.html?Dist=Lingua-Slavic-Numbers
L<https://rt.cpan.org/NoAuth/Bugs.html?Dist=Lingua-Slavic-Numbers>
=head1 COPYRIGHT
Expand All @@ -687,5 +689,5 @@ Ted Zlatanov <tzz@lifelogs.com>
=head1 SEE ALSO
Lingua::EN::Numbers, Lingua::Word2Num
L<Lingua::EN::Numbers>, L<Lingua::Word2Num>

0 comments on commit 44066d8

Please sign in to comment.