in reply to Saving to __DATA__

I wouldn't write the user input to DATA; I'd append (or over-write) a file you designate for the purpose.

That way, when your program starts, it could check for the existence of the file, read in the contents and do whatever you need to do with it. It makes testing a little easier, as well as assisting in providing an audit trail if you have to research what exactly your program did.