Update yup.pl

code cleanup.