Description | manuals and libraries |
Kernel::System::Storable - Storable wrapper functions
Functions for Storable serialization / deserialization.
create a Storable object. Do not use it directly, instead use:
my $StorableObject = $Kernel::OM->Get('Kernel::System::Storable');
Dump a Perl data structure to an storable string.
my $StoableString = $StorableObject->Serialize(
Data => $Data, # must be a reference,
Sort => 1, # optional 1 or 0, default 0
);
Load a serialized storable string to a Perl data structure.
my $PerlStructureScalar = $StorableObject->Deserialize(
Data => $StorableString,
);
Creates a deep copy a Perl data structure.
my $StorableData = $StorableObject->Clone(
Data => $Data, # must be a reference
);
This software is part of the OTRS project (https://otrs.org/).
This software comes with ABSOLUTELY NO WARRANTY. For details, see the enclosed file COPYING for license information (GPL). If you did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.