Code error in line where there is no code

When I use xm_perl with this code from /usr/libexec/nxlog/modules/extension/perl/event1.pl:

use Log::Nxlog;
use strict;
use warnings;
use feature 'say';
use JSON;
use utf8;

sub rec2msg {
    my $msgsrcaddr = Log::Nxlog::get_field($event, 'MessageSourceAddress');
    if ( defined($msgsrcaddr) )
        Log::Nxlog::set_field_string($event, 'MessageSourceCountry', "France");

It gives me strange error:

AskedApril 22, 2020 - 11:29am

xm_perl.dll is not present in extension directory

I am trying to use the perl extension in Windows, but nxlog complains that it cannot find the xm_perl.dll. The complaint is correct, the file is not there. My question is why? Does the windows version not support using perl?

AskedOctober 8, 2014 - 1:59pm