NAME

Tie::String::Redactable - work even harder to redact a string

SYNOPSIS

use Tie::String::Redactable;

my $object = tie my $string, 'Tie::String::Redactable', $secret;

$object->to_str_unsafe;
(tied $string)->to_str_unsafe;

DESCRIPTION

This is a tied version of String::Redactable that refuses to store a new value, and you have to go through the tied object to get to the object that allows you to call the method you need. It's unlikely that you would inadvertently type out any of that.

TO DO

SEE ALSO

SOURCE AVAILABILITY

This source is on GitHub:

http://github.com/briandfoy/string-redactable

AUTHOR

brian d foy, <briandfoy@pobox.com>

COPYRIGHT AND LICENSE

Copyright © 2025-2026, brian d foy, All Rights Reserved.

You may redistribute this under the terms of the Artistic License 2.0.