Replace an iMac superdrive with one pulled from a Macbook Pro? I have an old Mid 2009 13" MacBook Pro (unibody) that I'm not using anymore. I've already pulled the superdrive out of it. 

I also have a 2009 27" iMac that I am using. The superdrive on it is no longer working for various reasons, and needs to be replaced. I'm comfortable opening the iMac and replacing it, I've done it before.

Can I use the drive from my '09 Pro in my iMac?
This issue is likely form factor more than anything else, though Apple is famous for custom connectors...

I would look through the take-a-parts on fixit.com on those two units and see if they look the same. 

Also a bit of googling for a replacement drive for both and seeing if the part numbers are the same.