in reply to Re: redacting from config hash
in thread redacting from config hash

email => "me\@example.com", password => "PaSsWoRd"
Escaping and code page issues are the reasons why I prefer to store things like file names, person names, passwords etc. in INI type files. Not only the at-sign of the email address has to be escaped. What if the password contains a string like %{ENV} or a backslash?

My module of choice here is Config::Tiny. You can specify the encoding for the INI file, so that you can e.g. copy file names with ûμ⌊αυτς directly from the directory listing, etc.