Crypt::...3::Field(3)
π¦ NAME π¦
Crypt::PWSafe3::Field β it's giving "one single field inside a passwordsafe v3 record" β¨ literally just that, bestie.
πΈ SYNOPSIS πΈ
use Crypt::PWSafe3;
my $record = $vault->getrecord($uuid);
print $record-{field}->{user}->raw();
print $record-{field}->{user}->len();
π DESCRIPTION π
okay so Crypt::PWSafe3::Field is a whole class that represents a record field. That's the vibe. π
heads up bestie: this is the raw implementation. Like, the under-the-hood, gears-showing version. you normally don't have to cope with it. it's not for you. it's background lore. π
however β and this is the important part β if you ever do have to deal with it, you can do it like this:
my $field = Crypt::PWSafe3::Field->new(
value => 'testing',
name => 'title
);
$record->addfield($field);
and this right here? this is the preferred way to do it. Crypt::PWSafe3 does it internally exactly like this, no cap. π«Ά
if there's already a record field of this type kicking around, it gets overwritten. gone. replaced. the new one ate. π
but fr fr, the better way to handle fields is the modifyfield() method over on the class Crypt::PWSafe3::Record. go there instead. main character energy. π
π SEE ALSO π
- Crypt::PWSafe3::Record
β AUTHOR β
T.v.Dein <tlinden@cpan.org>
π COPYRIGHT π
Copyright (c) 2011-2015 by T.v.Dein <tlinden@cpan.org>. All rights reserved.
π LICENSE π
This program is free software; you can redistribute it and/or modify it under the same terms of the Artistic License 2.0, see: <http://www.perlfoundation.org/artistic_license_2_0>
okay that's the whole page, bestie, we're done here π¦β¨ this was Crypt::...3::Field(3) from the User Contributed Perl Documentation, and it's stamped perl v5.42.0 dated 2025-07-25 β love that for us, periodt π
π
π¦ where this page comes from
- fedora 43: perl-Crypt-PWSafe3 1.23~20220227git002b0f0-11.fc43 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms