|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re^4: RFC: SecureString - Obfuscated / masked strings exept when you need them (finding)by duelafn (Parson) |
| on Jul 20, 2011 at 06:22 UTC ( [id://915596]=note: print w/replies, xml ) | Need Help?? |
|
Pod moved. I can agree that a grepable accessor name is a good idea. auto_get does already support code references for the purpose of walking the stack looking for specific things. I imagine a ::Util package with some convenience functions for building such callbacks would be possible - along with some tweaks to the implementation to make subclassing and/or applying roles easier (to permit Text::Hidden::HideFrom::DBI) The major take-home that I am getting from the tied filehandle and DBD/DBI examples is that I should not completely abandon the "Default Allow" camp... I think I could get the "unsecure" filehandles, ::HideFrom::* roles, and auto_get lists to work together in a secure and predictable fashion. Am I properly interpreting your suggestions? Note: The debug option is currently spelled "cluck => 1" but does currently lack a note specifying whether the string was or was not unmasked. I agree that "debug" is probably a better name. Thank you for your comments... I guess I will have to clean this up and upload it now. Good Day,
In Section
Meditations
|
|
||||||||||||||||||||||||||||||