In addition to
BrowserUk's comment which which I agree, I also think it is a bit strange to call a
.pm file with a system command, I would add that using
system within a Perl program to fire another Perl program can sometimes be useful but is seldom the best solution. I have done it a few times for some specific reasons, but I would usually try to avoid that if possible.