"Being able to work with such an icon was amazing," said Shaffer. "It felt amazing. I had the extreme pleasure to be able to work with her personally."
Shaffer and White go head to head in the episode. White plays the tough school librarian, and Shaffer plays a young book lover.
"She plays a very good character, but as you'll see she's the complete opposite in real life," said Shaffer.
You can watch "The Middle" Wednesday at 8 p.m.