- or download this
my $other_secret = Crypt::SecretBuffer->new("Foo");
$password->unmask_secret_to(\&do_something, $user, $password, $other_s
+ecret);
- or download this
my $other_secret = Crypt::SecretBuffer->new("Foo");
$password->unmask_to(sub($pass) { do_something($user, $pass, $other_se
+cret) });
- or download this
use 5.036;
...
sub my_api_function($user, $password, $secret) {
unmask_secrets_to(\&private_fn, $user, $password, $secret);
}