Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: [PATCH] lib/Pod/Perldoc.pm - make -L more forgiving

0 views
Skip to first unread message

Rafael Garcia-Suarez

unread,
Aug 30, 2007, 4:51:59 AM8/30/07
to Adriano Ferreira, perl5-...@perl.org
On 23/08/2007, Adriano Ferreira <a.r.fe...@gmail.com> wrote:
> The patch that introduced the switch " -L language_code " took care of
> ignoring the option if the corresponding module was not installed.
>
> But (after installed)
>
> $ perldoc -L it perlintro
>
> works because there is a translated perlintro.pod, while
>
> $ perldoc -L it perldoc
>
> does not. I don't think the following message
>
> No documentation found for "POD2::IT::perldoc".
>
> is what users expect. To tell the truth, if they typed that, they
> expected the Italian translation of perldoc.pod (which is not ready
> yet), but I think falling back to the standard (English) page is more
> useful.
>
> The attached patch implements just this.

Thanks, applied as #31762, plus a typo fixed in #31763.

0 new messages