refactor remove test-eval & remove early trying code in Perl