Speedo cable replacement?

How many of us have pulled something like this apart and did not have a pan handy.....just in case????
Probably most of us! :-) Hopefully smart enough not to do it more than once....