title: Call Perl Script from Batch File
body: <p>I'm trying to make a batch file that will call a perl script that I have created that reports data every minute to a program. The program is not able to open perl scripts in Windows, but can collect data if a batch file opens the program.</p>
  
  <p>So far I have this:</p>
  
  <pre><code>@echo off
  call "C:\[Perl Installation Location for reporting program]\manager\etc\perl.exe" "C:\[Script location on disk]\program.pl"
  </code></pre>
  
  <p>However this returns the error</p>
  
  <blockquote>
    <p>Can not find scrict.pm</p>
  </blockquote>
  
  <p>Any suggestions?</p>
  
  <p>Edit: Removing Use Strict and Use Warnings fixed the issue. Thanks!</p>