Cook caserecce according to package direction, mine says cook for 7 minutes. Drain water but leave a little to thin down the consistency of pesto sauce. Saute cooked ham in a little olive oil for about 2 minutes, just to heat it up. Pour some pesto on the pasta and mix thoroughly until the pasta is evenly coated, Decide on the amount of pesto according to your preference, I like it slightly thick on the pasta, I always look for a deep green color. Add in the cooked ham and toss.