Re: [PATCH v3 7/7] remote-mediawiki: show progress while fetching namespaces
From: Antoine Beaupré <hidden>
Date: 2017-11-02 23:10:23
From: Antoine Beaupré <hidden>
Date: 2017-11-02 23:10:23
On 2017-11-02 22:31:02, Thomas Adam wrote:
On Thu, Nov 02, 2017 at 06:26:43PM -0400, Antoine Beaupré wrote:quoted
On 2017-11-02 22:18:07, Thomas Adam wrote:quoted
Hi, On Thu, Nov 02, 2017 at 05:25:18PM -0400, Antoine Beaupré wrote:quoted
+ 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