Revert "Fix embedded perl tests (thx Shawn Starr)"

This reverts commit f015624408e49457f5229cac406551b0530720b1.