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

David Christensen <[email protected]>
Newsgroups gmane.comp.web.interchange.users
Message-ID <[email protected]>
> On Jun 25, 2017, at 1:13 PM, Peter <[email protected]> wrote:
> 
> 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.

Been out for a week, but I assume by the silence that this fixed the issue.  Sidebar, while functional, that is a very funky construct for conditional compile-time operations! :-)

David
--
David Christensen
End Point Corporation
[email protected]
785-727-1171
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.