View on
MetaCPAN
Oliver Charles > Data-Zipper-0.02 > Data::Zipper

Download:
Data-Zipper-0.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 0.02   Source  

NAME ^

Data::Zipper - Easily traverse and transform immutable data

SYNOPSIS ^

    package Person;
    use Moose;

    has name => ( is => 'ro' );

    package MyApp;
    use Data::Zipper 'zipper';

    my $person = Person->new( name => 'John' )
    my $sally = zipper($person)
        ->traverse('name')->set('Sally')
        ->up
        ->focus;

FUNCTIONS ^

zipper

Create a zipper of the correct type, depending on the data given

AUTHOR ^

Oliver Charles

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2011 by Oliver Charles <oliver.g.charles@googlemail.com>.

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

syntax highlighting: