baby compiler in perl and java test file