added additional info checks for perl