Legislation requiring Pennsylvania schools to teach cursive writing was signed into law, Wednesday, by Gov. Josh Shapiro.