Crypt::...3::Field(3)

πŸ“¦
version 1.23~20220227git002b0f0 Β· 2 versions
, in fedora 43

πŸ¦‹ 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 (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