The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Data::Seek::Data - Data::Seek Data Structure Container

VERSION

version 0.05

SYNOPSIS

    use Data::Seek::Data;

DESCRIPTION

Data::Seek::Data is a class within Data::Seek which acts as a container for a data structure which is intended to be provided to Data::Seek::Search.

ATTRIBUTES

object

    $data->object;
    $data->object($hash);

Contains the data structure to be introspected, encoded and/or decoded, and must be a hash reference.

METHODS

decode

    my $hash = $data->decode;

Uses Hash::Flatten to unflatten/unfold the data structure returning a hash reference.

encode

    my $hash = $data->encode;

Uses Hash::Flatten to flatten/fold the data structure returning a hash reference.

AUTHOR

Al Newkirk <anewkirk@ana.io>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Al Newkirk.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.