Subject: | [Patch] POD nits |
The attached patch fixes some POD, which renders wrong, at least at
search.cpan.org.
Subject: | pod.patch |
diff --git a/Financial.pm b/Financial.pm
index cc52086..faf06e2 100644
--- a/Financial.pm
+++ b/Financial.pm
@@ -103,7 +103,7 @@ sub new {
C<$calc = new Math::Financial();
-C<$calc = new Math::Financial(pv =E<gt> 10000, ir =E<gt> 5, np => 12)>
+C<$calc = new Math::Financial(pv =E<gt> 10000, ir =E<gt> 5, np =E<gt> 12)>
Object constructor. See above for a description of the available attributes.
You do not I<have> to set attributes here, you can also do so using C<set>,
@@ -180,7 +180,7 @@ sub get {
=head2 get
-C<$calc-E<gt>get(field => 'ir')>
+C<$calc-E<gt>get(field =E<gt> 'ir')>
C<$calc-E<gt>get('ir','pmt','pv')>
@@ -278,7 +278,7 @@ sub funding_annuity {
C<$calc-E<gt>funding_annuity>
-C<$calc-E<gt>funding_annuity-E<gt>(pmt =E<gt> 2000, ir =E<gt> 6.50, np =E<gt> 40, tpy => 4)>
+C<$calc-E<gt>funding_annuity-E<gt>(pmt =E<gt> 2000, ir =E<gt> 6.50, np =E<gt> 40, tpy =E<gt> 4)>
C<funding_annuity> calculates how much money ( C<fv> ) you will have at the end of C<np> periods
if you deposit C<pmt> into the account each period and the account earns C<ir> interest per year.