Fix perl workaround...
Merge pull request #245 from pyhalov/perl_mediator_errors

Fix perl workaround...