in reply to Outlook Warning

Here is what I use to get around this issue, while maintaining some semblence of security.

Install the free ClickYes. Running this all the time will totally defeat the security. To maintain some level of security, I use this (ugh) BAT file.

echo %echo% off set prog="C:\Program Files\Express ClickYes\ClickYes.exe" Echo %prog% - Starting start "Run Async sam window(/B)" /B %prog% -activate sleep 60 Echo Stopping it ..... %prog% -stop Echo All over now...
Run the BAT file, then start your perl script. If your script takes longer than a minute to run, adjust the hard-coded sleep time.

You could easily incorporate the BAT file functionality into your script. In my case, I was not running a perl script - it was an Excel macro written by someone else.

     "For every complex problem, there is a simple answer ... and it is wrong." --H.L. Mencken