Perl IO::Socket::INET6::sockaddr_in6 redefined error

Yesterday I installed spamassassin package on a server running RHEL 6.8. Then this morning, I received an email alert with the following message: This seems to be a bug exists in an old version of IO::Socket::INET6. Upgrading this package should fix the problem: Ref:

September 14, 2016 · 1 min · 45 words · kenno

Warning: Use of "localtime" without parentheses is ambiguous

While looking at the log produced by Request Tracker (RT) 4.2.12, I noticed there was a warning message about using “localtime” without parentheses. Here’s the actual error message: [warning]: Warning: Use of "localtime" without parentheses is ambiguous at /opt/rt4/sbin/../lib/RT/Interface/ line 526. The solution which I found from here, fixed the problem: On line 526 of file /opt/rt4/sbin/../lib/RT/Interface/, replace: localtime with localtime(). Thanks to the chap who posted the solution.

September 14, 2016 · 1 min · 69 words · kenno

How to remove a newline at end of file

Those who know me know that I don’t like Perl. Sometimes in life the thing you don’t like could be best tool/friend. I need to remove a newline character from a text file: layouts/partials/pagination.html. The easiest way to do this is to run the following command: Thanks Perl and this Stack Overflow question.

June 9, 2016 · 1 min · 53 words · kenno

Setting proxy for CPAN

To enable CPAN behind proxy: Ref:

November 15, 2013 · 1 min · 7 words · kenno

FreeBSD configure: error: XML::Parser perl module is required for intltool

If you get this error message on a FreeBSD host, you may need to reinstall p5-XML-Parser.

July 24, 2013 · 1 min · 16 words · kenno