Skip Menu |

This queue is for tickets about the Date-Calc CPAN distribution.

Report information
The Basics
Id: 51616
Status: open
Priority: 0/
Queue: Date-Calc

People
Owner: Nobody in particular
Requestors: FWIE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 6.3
Fixed in: (no value)



Subject: [Patch] POD nits
The attached patch (against 6.3) fixes some POD, which renders wrong, at least at search.cpan.org.
Subject: diff
Download diff
application/octet-stream 955b

Message body not shown because it is not plain text.

On Tue Nov 17 14:36:46 2009, FWIE wrote: Show quoted text
> The attached patch (against 6.3) fixes some POD, which renders wrong, > at least at search.cpan.org.
It's on the TO DO list. Didn't you mean the following? diff --git a/lib/Date/Calc/Object.pod b/lib/Date/Calc/Object.pod index 2e8a539..065611b 100644 --- a/lib/Date/Calc/Object.pod +++ b/lib/Date/Calc/Object.pod @@ -1062,7 +1062,7 @@ the case of "string" conversions, but not in the case of "number" conversions). Otherwise, the global settings as defined by C<Language($lang);> -or C<Date::Calc->language($lang);> will be passed to your handler. +or C<Date::Calc-E<lt>language($lang);> will be passed to your handler. =item * @@ -1105,7 +1105,7 @@ the current setting (and never its number). BEWARE that in order to avoid possible conflicts between threads or modules running concurrently, you should NEVER use the global function C<Language($lang);> or the class method -C<Date::Calc->language($lang);> in this module! +C<Date::Calc-E<lt>language($lang);> in this module! The class method is retained only for backward compatibility and for convenience in stand-alone applications when it is
Show quoted text
> diff --git a/lib/Date/Calc/Object.pod b/lib/Date/Calc/Object.pod > index 2e8a539..065611b 100644 > --- a/lib/Date/Calc/Object.pod > +++ b/lib/Date/Calc/Object.pod > @@ -1062,7 +1062,7 @@ the case of "string" conversions, but not in the > case of "number" > conversions). > > Otherwise, the global settings as defined by C<Language($lang);> > -or C<Date::Calc->language($lang);> will be passed to your handler. > +or C<Date::Calc-E<lt>language($lang);> will be passed to your handler. > > =item * > > @@ -1105,7 +1105,7 @@ the current setting (and never its number). > BEWARE that in order to avoid possible conflicts between threads > or modules running concurrently, you should NEVER use the global > function C<Language($lang);> or the class method > -C<Date::Calc->language($lang);> in this module! > +C<Date::Calc-E<lt>language($lang);> in this module! > > The class method is retained only for backward compatibility > and for convenience in stand-alone applications when it is
Oops - I meant E<gt> instead of E<lt>, of course! :-)
Subject: Re: [rt.cpan.org #51616] [Patch] POD nits
Date: Tue, 08 Dec 2009 10:37:12 +0100
To: bug-Date-Calc [...] rt.cpan.org
From: Frank Wiegand <frank.wiegand [...] gmail.com>
Am Dienstag, den 08.12.2009, 04:30 -0500 schrieb Steffen Beyer via RT: Show quoted text
> Didn't you mean the following? > > diff --git a/lib/Date/Calc/Object.pod b/lib/Date/Calc/Object.pod > index 2e8a539..065611b 100644 > --- a/lib/Date/Calc/Object.pod > +++ b/lib/Date/Calc/Object.pod > @@ -1062,7 +1062,7 @@ the case of "string" conversions, but not in the > case of "number" > conversions). > > Otherwise, the global settings as defined by C<Language($lang);> > -or C<Date::Calc->language($lang);> will be passed to your handler. > +or C<Date::Calc-E<lt>language($lang);> will be passed to your handler.
C<< -> >> and C<-E<gt>> should render same: »->«, but the former is more readable, IMHO. Bye, Frank