Skip Menu |

This queue is for tickets about the podlinkcheck CPAN distribution.

Report information
The Basics
Id: 101148
Status: resolved
Priority: 0/
Queue: podlinkcheck

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

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



Subject: fall back to a pure perl implementation when possible
Locale::TextDomain doesn't always compile -- see https://rt.cpan.org/Ticket/Display.html?id=83980 -- it would be great to fall back to a pure perl alternative when it isn't installed. It looks like Locale::Messages::select_package() would work here.
Subject: Re: [rt.cpan.org #101148] fall back to a pure perl implementation when possible
Date: Sun, 28 Dec 2014 14:26:18 +1100
To: "Karen Etheridge via RT" <bug-podlinkcheck [...] rt.cpan.org>
From: Kevin Ryde <user42_kevin [...] yahoo.com.au>
"Karen Etheridge via RT" <bug-podlinkcheck@rt.cpan.org> writes: Show quoted text
> > Locale::TextDomain doesn't always compile -- see > https://rt.cpan.org/Ticket/Display.html?id=83980
I don't understand that. Show quoted text
> -- it would be great > to fall back to a pure perl alternative when it isn't installed. > > It looks like Locale::Messages::select_package() would work here.
I thought or hoped it already chooses what is installed or what works, so an application doesn't need to.
RT-Send-CC: user42_kevin [...] yahoo.com.au
On 2014-12-27 19:28:12, user42_kevin@yahoo.com.au wrote: Show quoted text
> "Karen Etheridge via RT" <bug-podlinkcheck@rt.cpan.org> writes:
> > > > Locale::TextDomain doesn't always compile -- see > > https://rt.cpan.org/Ticket/Display.html?id=83980
> > I don't understand that.
It doesn't always pass tests. The ticket references one long-outstanding issue. Show quoted text
>
> > -- it would be great > > to fall back to a pure perl alternative when it isn't installed. > > > > It looks like Locale::Messages::select_package() would work here.
> > I thought or hoped it already chooses what is installed or what works, > so an application doesn't need to.
If "it" is Locale::TextDomain, it cannot if it is not installed. The caller should check if it's available, and if it isn't, select an alternative.
Subject: Re: [rt.cpan.org #101148] fall back to a pure perl implementation when possible
Date: Wed, 31 Dec 2014 16:40:29 +1100
To: "Karen Etheridge via RT" <bug-podlinkcheck [...] rt.cpan.org>
From: Kevin Ryde <user42_kevin [...] yahoo.com.au>
"Karen Etheridge via RT" <bug-podlinkcheck@rt.cpan.org> writes: Show quoted text
> > If "it" is Locale::TextDomain, it cannot if it is not installed. The > caller should check if it's available, and if it isn't, select an > alternative.
Maybe, since I don't actually have any message translations which were anticipated. But otherwise it would be better to make Locale::TextDomain work than to have conditionalize every application.
On 2014-12-30 21:43:11, user42_kevin@yahoo.com.au wrote: Show quoted text
> "Karen Etheridge via RT" <bug-podlinkcheck@rt.cpan.org> writes:
> > > > If "it" is Locale::TextDomain, it cannot if it is not installed. The > > caller should check if it's available, and if it isn't, select an > > alternative.
> > Maybe, since I don't actually have any message translations which were > anticipated. But otherwise it would be better to make > Locale::TextDomain work than to have conditionalize every application.
I would prefer that option too, but my attempts to get Locale::TextDomain to work have not been successful so far. :/
My inclination is to leave my bits alone for now and hope that if there's anything wrong with Locale::TextDomain that it can be resolved there. I had an idea it had a perl-only no-op as its ultimate fallback, if it can apply that, if it doesn't already.