in reply to I Keep getting the error: "my" variable $a masks earlier declaration in same scope at bigsmall.pl line 8 (#1)