GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Crypt::PWSafe3::Field(3) User Contributed Perl Documentation Crypt::PWSafe3::Field(3)

Crypt::PWSafe3::Field - represent a passwordsafe v3 record field.

 use Crypt::PWSafe3;
 my $record = $vault->getrecord($uuid);
 print $record-{field}->{user}->raw();
 print $record-{field}->{user}->len();

Crypt::PWSafe3::Field represents a record field. This is the raw implementation and you normally don't have to cope with it.

However, if you ever do, you can do it this way:

 my $field = Crypt::PWSafe3::Field->new(
                                        value => 'testing',
                                        name  => 'title
                                      );
 $record->addfield($field);

This is the preferred way to do it, Crypt::PWSafe3 does it internaly exactly like this.

If there already exists a record field of this type, it will be overwritten.

The better way to handle fields is the method modifyfield() of the class Crypt::PWSafe3::Record.

Crypt::PWSafe3::Record

T.v.Dein <tlinden@cpan.org>

Copyright (c) 2011-2015 by T.v.Dein <tlinden@cpan.org>. All rights reserved.

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>
2015-02-16 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.