Re: [interchange] Fix redundant sprintf errors in perl 5.22.0

Peter <[email protected]>
Newsgroups gmane.comp.web.interchange.users
Message-ID <[email protected]>
On 25/06/17 10:23, Peter wrote:
>> syntax error at /home/demo4/interchange/lib/Vend/Util.pm line 96, near "qw(redundant) if"
> 
> Reading perl docs it looks like this is implemented at compilation time
> so run time constructs don't work.  Try this instead:
> 
> no if $^V ge v5.22.0, warnings => qw(redundant);
> 
> The above does not kick back any errors or warnings on 5.16.0.

I pushed this change out, we'll see if it fixes the issue.


Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.