Avoid assertion failures in debugging perls
Merge pull request #2 from Hugmeir/master

Avoid assertion failures in debugging perls