Re: [PATCH v3 7/7] remote-mediawiki: show progress while fetching namespaces
- From
Antoine Beaupré <anarcat@debian.org>
- Date
- Nov 2, 2017, 23:10 UTC
- Message-ID
- <87o9ok46qu.fsf@curie.anarc.at>
- In-Reply-To
- <20171102223102.j3niifmupcs77p3r@laptop.local>
On 2017-11-02 22:31:02, Thomas Adam wrote:
Show 16 quoted lines
> On Thu, Nov 02, 2017 at 06:26:43PM -0400, Antoine Beaupré wrote:
>> On 2017-11-02 22:18:07, Thomas Adam wrote:
>> > Hi,
>> >
>> > On Thu, Nov 02, 2017 at 05:25:18PM -0400, Antoine Beaupré wrote:
>> >> + print {*STDERR} "$#{$mw_pages} found in namespace $local_namespace ($namespace_id)\n";
>> >
>> > How is this any different to using warn()? I appreciate you're using a
>> > globbed filehandle, but it seems superfluous to me.
>>
>> It's what is used everywhere in the module, I'm just tagging along.
>>
>> This was discussed before: there's an issue about cleaning up the
>> messaging in that module, that can be fixed separately.
>
> Understood. That should happen sooner rather than later.Actually, is there a standard way to do this in git with Perl extensions? I know about "option verbosity N" but how should I translate this into Perl? Carp? Warn? Log::Any? Log4perl?
Recommendations welcome...
A.
--
Si Dieu existe, j'espère qu'Il a une excuse valable
- Daniel Pennac