Martin Boyer - 2020-03-17

Hi,

I have not experienced your issue, with various versions of Perl and EPIC, all on Windows 10.
I have not tried to run your program, but here are a few items you could try. The first line sets a variable you can use to conditionally execute code while running under EPIC.

my $running_with_debugger = 1 if ($ENV{PERLDB_PIDS} eq $$); # $$ is the process ID of the current perl script

  STDOUT->autoflush(1); # To make sure messages are not printed out of order
  STDERR->autoflush(1); # To make sure messages are not printed out of order

I hope this helps.

Martin