Add smartchr configurations for Perl

ref. #1