in reply to wide character warning!
Hi, and welcome to the monastery.
If you add "use diagnostics;" in addition to your "use 5.018;" Perl will give you a helpful error with a solution:
binmode STDOUT, ':utf8';
Although another choice if you want to configure all of Perl's Unicode options is the utf8::all module.
In Section
Seekers of Perl Wisdom